Added whitenoise and use gmail for smtp service

This commit is contained in:
keannu125 2023-03-19 20:41:54 +08:00
parent 9216087cde
commit 62a33b3cd0
3 changed files with 14 additions and 4 deletions

1
.gitignore vendored
View file

@ -60,6 +60,7 @@ cover/
local_settings.py local_settings.py
db.sqlite3 db.sqlite3
db.sqlite3-journal db.sqlite3-journal
static/
# Flask stuff: # Flask stuff:
instance/ instance/

View file

@ -12,6 +12,7 @@ django-cors-headers = "*"
python-decouple = "*" python-decouple = "*"
pytz = "*" pytz = "*"
python-dotenv = "*" python-dotenv = "*"
whitenoise = "*"
[dev-packages] [dev-packages]
autopep8 = "*" autopep8 = "*"

16
Pipfile.lock generated
View file

@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "f8b6af1a125eb757c216342ac93b0b49d2ee552f7a40959247b60d638e4ea90d" "sha256": "ce9322ad2115b863edb7b102703430008df8721662f745f3dc7b399facdb05b6"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
@ -447,11 +447,11 @@
}, },
"social-auth-core": { "social-auth-core": {
"hashes": [ "hashes": [
"sha256:1e3440d104f743b02dfe258c9d4dba5b4065abf24b2f7eb362b47054d21797df", "sha256:359f6be5bb2d4caef6500eb6e1b40821a40dde9add8d339d539b1adbba2c9bf7",
"sha256:4686f0e43cf12954216875a32e944847bb1dc69e7cd9573d16a9003bb05ca477" "sha256:89536f218fa1a769caeaa56ef90f965ea50a81b9a7e3e5a2c5a61b832df11bde"
], ],
"markers": "python_version >= '3.6'", "markers": "python_version >= '3.6'",
"version": "==4.3.0" "version": "==4.4.0"
}, },
"sqlparse": { "sqlparse": {
"hashes": [ "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'", "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" "version": "==1.26.15"
},
"whitenoise": {
"hashes": [
"sha256:599dc6ca57e48929dfeffb2e8e187879bfe2aed0d49ca419577005b7f2cc930b",
"sha256:a02d6660ad161ff17e3042653c8e3f5ecbb2a2481a006bde125b9efb9a30113a"
],
"index": "pypi",
"version": "==6.4.0"
} }
}, },
"develop": { "develop": {