Unable to get a setting from settings file in django Unable to get a setting from settings file in django django django

Unable to get a setting from settings file in django


From the Django docs on creating your own settings states:

Setting names are in all uppercase.

Try renaming the setting to GI.


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_PROJECTexport DJANGO_SETTINGS_MODULE=settings