Django - No such table: main.auth_user__old
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)
no such table exception
I solved the same problem with these steps :
- Delete your database (
db.sqlite3
in my case) in your project directory - Remove everything from
__pycache__
folder under your project subdirectory - For the application you are trying to fix, go to the folder and clear
migrations
and__pycache__
directories
When you are sure you have cleared all the above files, run:
python manage.py makemigrations
python manage.py migrate
I hope this helps.
Related Topics
Ruby Hash Equivalent to Python Dict Setdefault
Does Ruby Support Conditional Regular Expressions
Urllib2 in Python Equivalent for Ruby
Why Is Ruby More Suitable for Rails Than Python
The Simplest Possible Reverse Proxy
Python: What's the Difference Between Pythonbrew and Virtualenv
Scripting Http More Effeciently
Please Introduce a Multi-Processing Library in Perl or Ruby
Does Ruby Have Something Like Python's List Comprehensions
What Is the "Sys.Stdout.Write()" Equivalent in Ruby
Output Seckeycopyexternalrepresentation
Convert Uiimage from Bgr to Rgb
Dynamic Instantiation from String Name of a Class in Dynamically Imported Module
Equivalent to Python's Findall() Method in Ruby
Which Is the Recommended Way to Plot: Matplotlib or Pylab
Force Python to Forego Native SQLite3 and Use the (Installed) Latest SQLite3 Version