allianceauth/util/context_processors.py
2014-10-03 20:15:43 -07:00

9 lines
393 B
Python

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