From 869d8db7dc98d42da007694213b2b76912b2b3bc Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sun, 19 Mar 2023 20:53:34 +0800 Subject: [PATCH] Added django-simple-history library --- Pipfile | 1 + Pipfile.lock | 10 +++++++++- project/config/settings.py | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index 6326898..445966d 100644 --- a/Pipfile +++ b/Pipfile @@ -13,6 +13,7 @@ python-decouple = "*" pytz = "*" python-dotenv = "*" whitenoise = "*" +django-simple-history = "*" [dev-packages] autopep8 = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 1b61a5b..e8dc0f9 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "ce9322ad2115b863edb7b102703430008df8721662f745f3dc7b399facdb05b6" + "sha256": "fe9614acb9626643fef4c20b50ef8785ea9eda6cd929eb848b1b3b4cec2ac9cf" }, "pipfile-spec": 6, "requires": { @@ -249,6 +249,14 @@ "index": "pypi", "version": "==3.14.0" }, + "django-simple-history": { + "hashes": [ + "sha256:2313d2d346f15a1e7a92adb3b6696b226f1cd0c1d920869ec40c4c4076614c41", + "sha256:dc1f98e558a0a1e0b6371c3b8efb85f86e02a6db56e83d0ec198343b7408d00a" + ], + "index": "pypi", + "version": "==3.3.0" + }, "django-templated-mail": { "hashes": [ "sha256:8db807effebb42a532622e2d142dfd453dafcd0d7794c4c3332acb90656315f9", diff --git a/project/config/settings.py b/project/config/settings.py index 8fb98e7..59bf5c1 100644 --- a/project/config/settings.py +++ b/project/config/settings.py @@ -26,7 +26,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = os.environ.get('SECRET_KEY') # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = []