django-nonrel google app引擎无法登录管理面板 [英] django-nonrel google app engine fail to log in admin panel
问题描述
我已经在gae上创建了一个django-nonrel应用程序。用is_active,is_staff,is_suiperuser全部添加了一个用户(django.auth.models.User)。在localhost上登录成功,但部署后我无法登录GAE(我也在GAE上创建了同一个用户,并且可以在数据存储区视图中查看)。
但是当我尝试登录http://.appspot.com/admin/它返回请输入正确的用户名和密码。
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."
Nick and Elliot are right. You have to use manage.py remote createsuperuser
这篇关于django-nonrel google app引擎无法登录管理面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!