context_processors.py 221 B

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