Bug #1999
Cannot access admin site because tables are missing from the main database
Start date:
08/17/2017
Due date:
% Done:
0%
Description
I get this error:
OperationalError: no such table: django_site
History
#1 Updated by Luke Murphey over 7 years ago
Observations:
- No tables are created
- Clearing the routers doesn't help
- The database is created but no tables exist]
- Removing the reference to the library and the router didn't help
#2 Updated by Luke Murphey over 7 years ago
https://stackoverflow.com/questions/33086444/django-1-8-migrate-is-not-creating-tables
python manage.py migrate --fake reader zero python manage.py migrate reader
That didn't work.
#3 Updated by Luke Murphey over 7 years ago
This had to do with a bad router. Fixed.
#4 Updated by Luke Murphey over 7 years ago
- Status changed from New to Closed