from django.conf import settings # import the settings file #def constance(request): # # return the value you want as a dictionnary. you may add multiple values in there. # return {'TILES_URL': settings.TILES_URL}