Disable whitenoise
This commit is contained in:
parent
cfdaf13e79
commit
5958f182c9
3 changed files with 0 additions and 7 deletions
|
@ -155,10 +155,6 @@ STATICFILES_DIRS = (
|
|||
'static'
|
||||
)
|
||||
|
||||
# Simplified static file serving.
|
||||
# https://warehouse.python.org/project/whitenoise/
|
||||
|
||||
STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
|
||||
|
||||
LOGIN_URL = 'auth_login'
|
||||
LOGOUT_URL = 'auth_logout'
|
||||
|
|
|
@ -10,9 +10,7 @@ https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/
|
|||
import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
from whitenoise.django import DjangoWhiteNoise
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "refunds.settings")
|
||||
|
||||
application = get_wsgi_application()
|
||||
application = DjangoWhiteNoise(application)
|
||||
|
|
|
@ -6,4 +6,3 @@ django-dotenv==1.4.1
|
|||
gunicorn==19.6.0
|
||||
psycopg2==2.6.2
|
||||
pytz
|
||||
whitenoise==3.2.1
|
||||
|
|
Loading…
Reference in a new issue