mirror of
https://github.com/umap-project/umap.git
synced 2025-05-05 14:01:50 +02:00
fix: fix version import from context processors
This commit is contained in:
parent
6ce203d523
commit
4745f0adce
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