Skip to content
Advertisement

Tag: django-migrations

“OperationalError: no such table: django_site” when running makemigrations with empty database when using Django-todo

I have inherited a Django 1.11.6 application from another developer. Now after I have made a lot of changes to the code and data model, I want to re-create the sqlite database from scratch. But when I run manage.py makemigrations in the project directory (no migration files and database present), I am getting the following error message: ‘django.contrib.sites’ is present

Advertisement