Django django_admin_log' doesn't exist

Viewed 3067

I have setup a new database with MySQL and run

python manage.py migrate

then run

python loaddata db.json

to load data from my previous sqlite database.

But now when I try to access the admin pages I get

ProgrammingError at /admin/
(1146, "Table 'myapp.django_admin_log' doesn't exist")

Other answers say to run syncdb but it not longer exists.

Any ideas?

1 Answers
Related