mirror of
https://github.com/lemeow125/Ivy-Backend.git
synced 2024-11-16 22:29:25 +08:00
Added whitenoise library
This commit is contained in:
parent
62d9009fd7
commit
7ca5948e59
4 changed files with 11 additions and 1 deletions
1
Pipfile
1
Pipfile
|
@ -11,6 +11,7 @@ djangorestframework-simplejwt = "*"
|
|||
django-cors-headers = "*"
|
||||
django-simple-history = "*"
|
||||
python-dotenv = "*"
|
||||
whitenoise = "*"
|
||||
|
||||
[dev-packages]
|
||||
autopep8 = "*"
|
||||
|
|
10
Pipfile.lock
generated
10
Pipfile.lock
generated
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "adf075ae1c44614e471a3fde436359004437d32d0736e88bc3cfc79f626de919"
|
||||
"sha256": "872795782164fb72a8e9c0a8fb9340dad5b71eb7ff9de455e199e50552c74b12"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
|
@ -483,6 +483,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.14"
|
||||
},
|
||||
"whitenoise": {
|
||||
"hashes": [
|
||||
"sha256:599dc6ca57e48929dfeffb2e8e187879bfe2aed0d49ca419577005b7f2cc930b",
|
||||
"sha256:a02d6660ad161ff17e3042653c8e3f5ecbb2a2481a006bde125b9efb9a30113a"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==6.4.0"
|
||||
}
|
||||
},
|
||||
"develop": {
|
||||
|
|
|
@ -50,6 +50,7 @@ INSTALLED_APPS = [
|
|||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
"whitenoise.middleware.WhiteNoiseMiddleware",
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
"corsheaders.middleware.CorsMiddleware",
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
|
|
0
requirements.txt
Normal file
0
requirements.txt
Normal file
Loading…
Reference in a new issue