0

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."

Bogdan
  • 702
  • 3
  • 6
  • 22
  • Are you using the "appcfg.py runserver" command instead of App Engine launcher? – Can Bascil Apr 16 '11 at 19:29
  • 2
    How did you add the user? The App Engine datastore isn't mirrored between development and production, so you'll likely need to add the user again in the production environment. – Nick Johnson Apr 18 '11 at 03:08

1 Answers1

2

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

thgie
  • 2,367
  • 1
  • 18
  • 28