close

[Solved] Django – No such table: main.auth_user__old

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Django – No such table: main.auth_user__old in python. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Django – No such table: main.auth_user__old Error Occurs?

Today I get the following error Django – No such table: main.auth_user__old in python.

How To Solve Django – No such table: main.auth_user__old Error ?

  1. How To Solve Django – No such table: main.auth_user__old Error ?

    To Solve Django – No such table: main.auth_user__old Error I just came across this myself, it looks to be related to https://code.djangoproject.com/ticket/29182. For now, you can just downgrade your version of sqlite to a version prior to 2.6 (e.g. 2.5.1)

  2. Django – No such table: main.auth_user__old

    To Solve Django – No such table: main.auth_user__old Error I just came across this myself, it looks to be related to https://code.djangoproject.com/ticket/29182. For now, you can just downgrade your version of sqlite to a version prior to 2.6 (e.g. 2.5.1)

Solution 1

I just came across this myself, it looks to be related to https://code.djangoproject.com/ticket/29182. For now, you can just downgrade your version of sqlite to a version prior to 2.6 (e.g. 2.5.1)

Solution 2

Get rid of this issue easily maintaining the following steps:

  1. keep django version 2.1.5 (the issue addressed in this version) pip install django==2.1.5
  2. Delete the SQLite db
  3. Migrate again python manage.py makemigrations and then python manage.py migrate
  4. Start the server python manage.py runserver

DONE!

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read