-
Django – makemigrations – No changes detected
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).
-
How To Resolve Django: ImproperlyConfigured: The SECRET_KEY setting must not be empty Error
Solution 1 When django imports development from our package, it initialises all variables inside base since we have to defined below inside __init__.py from base import * Solution 2 Run following command to select settings python manage.py runserver 127.0.0.1:8000 –settings=app_name.settings.development