fix: fix version import from context processors

This commit is contained in:
Yohan Boniface 2021-12-30 12:06:41 +01:00
parent 77b8390184
commit 7dc608a242

View file

@ -1,6 +1,6 @@
from django.conf import settings as djsettings from django.conf import settings as djsettings
from . import __version__ from . import VERSION
def settings(request): def settings(request):
@ -13,5 +13,5 @@ def settings(request):
def version(request): def version(request):
return { return {
'UMAP_VERSION': __version__ 'UMAP_VERSION': VERSION
} }