mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-09-13 13:13:01 +02:00
Modify: footer meta info
This commit is contained in:
@@ -2,7 +2,7 @@ import environ
|
||||
from pathlib import Path
|
||||
from datetime import timedelta
|
||||
|
||||
from . import __version__
|
||||
from . import __version__, __status__
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
@@ -11,7 +11,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
env = environ.Env(
|
||||
# set casting default value
|
||||
VERSION=(str, __version__),
|
||||
ENVIRONMENT=(str, 'development'),
|
||||
ENVIRONMENT=(str, __status__),
|
||||
DEBUG=(bool, False),
|
||||
SECRET_KEY=(str, 'j9QGbvM9Z4otb47'),
|
||||
SQLITE_URL=(str, f'sqlite:///{BASE_DIR / "data/db.sqlite3"}'),
|
||||
|
Reference in New Issue
Block a user