[Answer]-Django manage.py syncdb not creating models

1👍

✅

There are two more steps. First, database models must be in a file called models.py. Other files aren’t recognized by django for database models. Second, you need to add an entry to INSTALLED_APPS inside settings.py for the module containing this models.py. So, if you have in your project somedir/models.py, you need to have in your settings.py:

INSTALLED_APPS = (
    #...
    "somedir",
)

Leave a comment