Djago obtient des paramètres

from django.conf import settings 

settings.VARIABLE_NAME

# NOTE - VARIABLE should be in capital letter. 
# It will not work otherwise.
Panicky Pintail