django-nonrel google app engine fail to log in admin panel

﹥>﹥吖頭↗ 提交于 2019-12-06 15:47:29

问题


I've created a django-nonrel app on gae. Added a user (django.auth.models.User) with is_active, is_staff, is_suiperuser all True. On localhost I login successfully, but I fail to login on GAE after deploy (I've created the same user on GAE too and it can be seen on datastore view).

But when I try to login on http://.appspot.com/admin/ it returns "Please enter a correct username and password."


回答1:


Nick and Elliot are right. You have to use manage.py remote createsuperuser



来源:https://stackoverflow.com/questions/5686060/django-nonrel-google-app-engine-fail-to-log-in-admin-panel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!