About the solution to django.db.utils.OperationalError: no such table: auth_user when python manage.py createsuperuser

The solution I saw on stackflow is to migrate the data path: https://stackoverflow.com/questions/39071093/django-db-utils-operationalerror-no-such-table-auth-user

The actual operation is:

After this, the superuser can be successfully created

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325245050&siteId=291194637