25👍
✅
From the Django docs on creating your own settings states:
Setting names are in all uppercase.
Try renaming the setting to GI
.
0👍
The project must be added on the PYTHONPATH and the DJANGO_SETTINGS_MODULE has to be defined.
Please refer to the commands mentioned below.
export PYTHONPATH=PATH_OF_PROJECT
export DJANGO_SETTINGS_MODULE=settings
- Why django uses a comma as decimal separator
- Django and Custom Form validation
- Django: How to get the root path of a site in template?
- Add custom button to django admin panel
Source:stackexchange.com