Search code examples
pythondjangodjangoappengine

djangoappengine User Creation and Data Persistence is Broken


I recently updated to appengine SDK 1.6 and I'm having trouble with persisting data on my dev environment. I have everything setup according to the official installation guide.

Even though I had a super user account setup for my app previously, it no longer works. I created the account again with

manage.py createsuperuser

and it seems to do what it's supposed to but the admin login doesn't work. Also, every time I run

manage.py syncdb

The script keeps informing me that I just install the auth system and don't have any users yet. Then it prompts me to create a super user.

Because nothing is persisting, I can't login to the admin page and any data I attempt to save using the built in shell doesn't keep either.


Solution

  • I didn't end up changing anything but after trying it again on my Win 7 machine the next day, the issue wasn't there so it unfortunately isn't reproducible right now. Maybe logging out and logging back in changed some type of state after the install, that's my best guess. Sorry that I don't have any further information.