开发者

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

开发者 https://www.devze.com 2023-02-26 21:37 出处:网络
I\'ve created a django-nonrel app on gae. Added a user (django.auth.models.User) with is_active, is_staff, is_suiperuserall True. On localhost I login successfully, but I fail to login on GAE after de

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 开发者_如何学Pythondatastore 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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号