Folder structure that I kept for my project is:
project:
commons
settings.py
manage.py
app
models
models.py
__init__.py ()
__init__.py
from models import xx
on running ./manage.py makemigrations
no changes are getting detected.
I have added the app in
installed_apps of settings.py as 'app'.
Can this be achieved in django ?
Advance thanks for your time.
python manage.py makemigrations app
it will create the missing migrations
folder
or you can manually create the migrations
folder in your app with the __init__.py
inside
it is skipping over your app because that folder does not exist
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With