[Fixed]-Syncdb not working – django cache issue

1👍

syncdb in django 1.8 is merely an alias for the migrate command but with the additional step of creating a superuser.

Deprecated since version 1.7: This command has been deprecated in
favor of the migrate command, which performs both the old behavior as
well as executing migrations.

But syncdb (migrate) should be executed only after you have done makemigrations [app_label] but in your case you seem to have the order in reverse.

Try

./manage.py makemigrations
./manage.py migrate
👤e4c5

Leave a comment