Creating superuser in django-nonrel

后端 未结 3 815
梦谈多话
梦谈多话 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:56

    Behind the scenes, Django maintains a list of “authentication backends” that it checks for authentication. As a result of this there could be a few additional problems you can run into. So in addition to @iali's answer. You need to make sure that you.

    1. make sure that your settings.MIDDLEWARE_CLASSES does not include any additional authentication middleware.
    2. make sure that your settings.AUTHENTICATION_BACKENDS is not set.

提交回复
热议问题