Django - makemigrations - No changes detected
Django - makemigrations - No changes detected
回答1
To create initial migrations for an app, run makemigrations and specify the app name. The migrations folder will be created.
./manage.py makemigrations <myapp>
Your app must be included in INSTALLED_APPS first (inside settings.py).

浙公网安备 33010602011771号