I have this problem in my code:
OperationalError at /admin/forum/thread/
no such column: forum_thread.slug
I've tried to make a million changes and I could not. When I run the command python manage.py makemigrations
it returns the following error message:
You are trying to add a non-nullable field 'slug' to a thread without a default; we can not do that (the database needs something to populate existing rows). Please select a fix: 1) Provide one-off default now (will be set on all existing rows) 2) Quit, and let me add default in models.py Select an option:
Below my models.py:
The complete file is here:
Thank you.