1 from django
.conf
import settings
# import the settings file
4 def conf_constants(request
):
5 # return the value you want as a dictionnary. you may add multiple values in there.
7 'SITE_NAME': settings
.SITE_NAME
,
8 'SHORT_SITE_NAME': settings
.SHORT_SITE_NAME
,
9 'VERSION': settings
.VERSION
,