To create initial migrations for an app, run makemigrations and specify the app name. The migrations folder will be created.

python manage.py makemigrations appname

Your app must be included in INSTALLED_APPS first (inside settings.py).

Leave a Reply