mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-10 00:56:19 +01:00
Character stuff
This commit is contained in:
0
util/__init__.py
Normal file
0
util/__init__.py
Normal file
9
util/context_processors.py
Normal file
9
util/context_processors.py
Normal file
@@ -0,0 +1,9 @@
|
||||
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}
|
||||
Reference in New Issue
Block a user