How do I create a superuser account in Django 1.9.6

前端 未结 7 2082
广开言路
广开言路 2021-02-05 02:18

I am reading a book (\"Learning Django Web Development\" by Sanjeev Jaiswal and Ratan Kumar) on Django, but the book is based on an earlier version of Django (prior to version 1

7条回答
  •  天涯浪人
    2021-02-05 02:53

    $ python manage.py createsuperuser

    It will ask username and password

    http://127.0.0.1:8000/admin/ see

    https://www.tutorialshore.com/create-new-admin-user-in-django/

提交回复
热议问题