Answer the question
In order to leave comments, you need to log in
How to solve superuser creation problem in django?
When trying to create a superuser, it throws an error:
You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python manage.py migrate' to apply them.
Traceback (most recent call last):
File "/home/omur/Desktop/dj/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
return self .cursor.execute(sql, params)
File "/home/omur/Desktop/dj/venv/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 383, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: auth_user
Answer the question
In order to leave comments, you need to log in
Well, do
it before that - it clearly says to you in the error
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question