Added django-simple-history library

This commit is contained in:
keannu125 2023-03-19 20:53:34 +08:00
parent c68ed63674
commit 869d8db7dc
3 changed files with 11 additions and 2 deletions

View file

@ -13,6 +13,7 @@ python-decouple = "*"
pytz = "*"
python-dotenv = "*"
whitenoise = "*"
django-simple-history = "*"
[dev-packages]
autopep8 = "*"

10
Pipfile.lock generated
View file

@ -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",

View file

@ -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 = []