fix: fix version import from context processors
This commit is contained in:
parent
77b8390184
commit
7dc608a242
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue