Variables de configuración de Django
Try with this:
from django.conf import settings
then,
settings.VARIABLE
to access that variable.
VARIABLE should be in capital letter. It will not work otherwise.
Testy Trout