2👍
✅
-
If an app doesn’t have a
migrations/
directory with an__init__.py
file (even on Python 3), Django won’t create any migrations if you don’t specify the app name. You either have to create the directories and__init__.py
files, or you have to call./manage.py makemigrations <app_name>
for each app, which forces Django to create the directory. -
It doesn’t. It may connect to the database during the
makemigrations
command, but the migrations are purely based on your models.
👤knbk
Source:stackexchange.com