Get Around that Pesky Django Migration Error: “Column Does Not Exist” and Add New Columns in Your SQLite3 Database

    1. Remove your updates from models.py, views.py and admin.py
    2. ./manage.py makemigrations appname
    3. ./manage.py migrate --fake appname
    4. Re-add your updates to models.py, views.py and admin.py
    5. ./manage.py makemigrations appname
    6. ./manage.py migrate appname
    7. python manage.py runserver

Leave a Reply

Your email address will not be published. Required fields are marked *