blob: d5545153ab1679a6e78a28dd3d080daa42ae64ca [file] [log] [blame]
lombardoffb37bca2018-05-03 16:20:04 +02001from django.conf import settings # import the settings file
2
3
4def conf_constants(request):
5 # return the value you want as a dictionnary. you may add multiple values in there.
6 return {
7 'SITE_NAME': settings.SITE_NAME,
8 'SHORT_SITE_NAME': settings.SHORT_SITE_NAME,
9 'VERSION': settings.VERSION,
10 }