2016-06-30 07:41:10 -05:00
|
|
|
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__
|
|
|
|
|
2016-06-30 07:41:10 -05:00
|
|
|
|
|
|
|
def settings(request):
|
2014-08-25 02:42:17 -05:00
|
|
|
return {
|
2016-06-30 07:41:10 -05:00
|
|
|
'UMAP_FEEDBACK_LINK': djsettings.UMAP_FEEDBACK_LINK,
|
2016-09-09 13:59:25 -05:00
|
|
|
'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
|
|
|
|
2016-06-30 07:41:10 -05:00
|
|
|
|
2014-08-25 03:09:39 -05:00
|
|
|
def version(request):
|
|
|
|
return {
|
|
|
|
'UMAP_VERSION': __version__
|
|
|
|
}
|