umap/umap/context_processors.py
2021-12-30 12:06:41 +01:00

17 lines
358 B
Python

from django.conf import settings as djsettings
from . import VERSION
def settings(request):
return {
'UMAP_FEEDBACK_LINK': djsettings.UMAP_FEEDBACK_LINK,
'SITE_NAME': djsettings.SITE_NAME,
'ENABLE_ACCOUNT_LOGIN': djsettings.ENABLE_ACCOUNT_LOGIN,
}
def version(request):
return {
'UMAP_VERSION': VERSION
}