From 62a33b3cd0d86f48c0ff43d5939d8f724f67f25b Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sun, 19 Mar 2023 20:41:54 +0800 Subject: [PATCH] Added whitenoise and use gmail for smtp service --- .gitignore | 1 + Pipfile | 1 + Pipfile.lock | 16 ++++++++++++---- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 68bc17f..3ae3754 100644 --- a/.gitignore +++ b/.gitignore @@ -60,6 +60,7 @@ cover/ local_settings.py db.sqlite3 db.sqlite3-journal +static/ # Flask stuff: instance/ diff --git a/Pipfile b/Pipfile index 1907a50..6326898 100644 --- a/Pipfile +++ b/Pipfile @@ -12,6 +12,7 @@ django-cors-headers = "*" python-decouple = "*" pytz = "*" python-dotenv = "*" +whitenoise = "*" [dev-packages] autopep8 = "*" diff --git a/Pipfile.lock b/Pipfile.lock index e85c8fd..1b61a5b 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "f8b6af1a125eb757c216342ac93b0b49d2ee552f7a40959247b60d638e4ea90d" + "sha256": "ce9322ad2115b863edb7b102703430008df8721662f745f3dc7b399facdb05b6" }, "pipfile-spec": 6, "requires": { @@ -447,11 +447,11 @@ }, "social-auth-core": { "hashes": [ - "sha256:1e3440d104f743b02dfe258c9d4dba5b4065abf24b2f7eb362b47054d21797df", - "sha256:4686f0e43cf12954216875a32e944847bb1dc69e7cd9573d16a9003bb05ca477" + "sha256:359f6be5bb2d4caef6500eb6e1b40821a40dde9add8d339d539b1adbba2c9bf7", + "sha256:89536f218fa1a769caeaa56ef90f965ea50a81b9a7e3e5a2c5a61b832df11bde" ], "markers": "python_version >= '3.6'", - "version": "==4.3.0" + "version": "==4.4.0" }, "sqlparse": { "hashes": [ @@ -484,6 +484,14 @@ ], "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'", "version": "==1.26.15" + }, + "whitenoise": { + "hashes": [ + "sha256:599dc6ca57e48929dfeffb2e8e187879bfe2aed0d49ca419577005b7f2cc930b", + "sha256:a02d6660ad161ff17e3042653c8e3f5ecbb2a2481a006bde125b9efb9a30113a" + ], + "index": "pypi", + "version": "==6.4.0" } }, "develop": {