umap/umap/context_processors.py
2014-08-25 10:09:39 +02:00

13 lines
244 B
Python

from django.conf import settings
from . import __version__
def feedback_link(request):
return {
'UMAP_FEEDBACK_LINK': settings.UMAP_FEEDBACK_LINK
}
def version(request):
return {
'UMAP_VERSION': __version__
}