Can someone give a detailed explanation on how to fix the ERROR: no such table: main.auth_user__old
It arises in my Django application when I am trying to a
This happened to me as a newbie, whilst following Mosh's intro course on the final project 3: Django. This is the fix, usually using Pycharm or it's equivalent (no need to change any of your code):
Then upgrade Django like this in a terminal window pip install --upgrade django==2.1.5 Once it's done, you rebuild.
python manage.py makemigrations and hit enter. It should say no changes detected.python manage.py migrate, it'll rebuild db.sqlite3python manage.py runserver and let that run.python manage.py createsuperuser and follow prompts.