Unable to get a setting from settings file in django

django, python, settings

Solution

From the Django docs on creating your own settings states:

Setting names are in all uppercase.

Try renaming the setting to `GI`.

Problem

I've a setting say `gi` in `settings.py` file. I've created a separate python file (i.e. I'm not using it in views) and used import statement as: ``` from django.conf import settings ``` but when I try to access `settings.gi`, it says that `'Settings' object has no attribute 'gi'`. What's missing? :s

Original source