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
I know this issue is encountered a long time back I don't want anyone to stuck on it again:
Step1: The solution is to check the Django version if it is 2.1 then update it to 2.2 or later.
Step2: After updating to Django==2.2 or later Delete all old migrations from the migrations folder and delete the db.sqlite3 and then run makemigrations and migrations again. It will be resolved.
Good Luck!
It's a compatibility issue between latest SQLite and Django. See here: Django - No such table: main.auth_user__old