From a6024645b6c9eb384fba4940d4fd48e5ed32054d Mon Sep 17 00:00:00 2001 From: hcwinsemius Date: Fri, 14 Jun 2024 13:28:01 +0200 Subject: [PATCH] fix #90 --- LiveORC/settings.py | 2 +- api/__init__.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/LiveORC/settings.py b/LiveORC/settings.py index 2ddddf1..a99c997 100644 --- a/LiveORC/settings.py +++ b/LiveORC/settings.py @@ -16,7 +16,7 @@ import boto3 # See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/ - +VERSION = "0.1.1" # Build paths inside the project like this: BASE_DIR / 'subdir'. # try to get BASE_DIR from env variable BASE_DIR = Path(__file__).resolve().parent.parent diff --git a/api/__init__.py b/api/__init__.py index 646c4b8..1cca1c3 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -1,4 +1,5 @@ -__version__ = "0.1.1" +from LiveORC import settings +__version__ = settings.VERSION from . import context_processors \ No newline at end of file