mirror of
https://github.com/Rushilwiz/pushup-contest.git
synced 2025-04-04 02:30:16 -04:00
added whitenoise
This commit is contained in:
parent
dfd2fac13c
commit
b16b0027c0
|
@ -51,6 +51,7 @@ INSTALLED_APPS = [
|
|||
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'whitenoise.middleware.WhiteNoiseMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
|
@ -134,4 +135,4 @@ CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
|||
|
||||
LOGIN_URL = 'login'
|
||||
LOGOUT_URL = 'logout'
|
||||
LOGIN_REDIRECT_URL = 'home'
|
||||
LOGIN_REDIRECT_URL = 'home'
|
||||
|
|
|
@ -5,6 +5,7 @@ django-crispy==1.8.1
|
|||
django-extensions==3.0.9
|
||||
django-secrets==1.0.2
|
||||
future==0.18.2
|
||||
gunicorn==20.0.4
|
||||
isort==5.6.4
|
||||
lazy-object-proxy==1.4.3
|
||||
mccabe==0.6.1
|
||||
|
@ -15,4 +16,5 @@ sqlparse==0.4.1
|
|||
toml==0.10.1
|
||||
typed-ast==1.4.1
|
||||
Werkzeug==1.0.1
|
||||
whitenoise==5.2.0
|
||||
wrapt==1.12.1
|
||||
|
|
Loading…
Reference in New Issue
Block a user