umap/umap/context_processors.py

18 lines
366 B
Python
Raw Normal View History

from django.conf import settings as djsettings
2014-08-25 02:42:17 -05:00
2014-08-25 03:09:39 -05:00
from . import __version__
def settings(request):
2014-08-25 02:42:17 -05:00
return {
'UMAP_FEEDBACK_LINK': djsettings.UMAP_FEEDBACK_LINK,
'SITE_NAME': djsettings.SITE_NAME,
'ENABLE_ACCOUNT_LOGIN': djsettings.ENABLE_ACCOUNT_LOGIN,
2014-08-25 02:42:17 -05:00
}
2014-08-25 03:09:39 -05:00
2014-08-25 03:09:39 -05:00
def version(request):
return {
'UMAP_VERSION': __version__
}