Creating superuser in django-nonrel

后端 未结 3 810
梦谈多话
梦谈多话 2021-01-18 21:40

I\'m a newbie been going through the django-nonrel tutorials and have set up django-nonrel inside of Google App Engine.

I am now trying to create a superuser using:<

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-18 21:51

    Solved this. For anyone else having the same problem, in order to get admin to work:

    1) Ensure that django.contrib.auth is installed_apps section in your settings.py

    2) Stop runserver, then createsuperuser using manage.py createsuperuser.
    AFTER you've created the superuser, start runserver again.

提交回复
热议问题