Skip to content
Snippets Groups Projects
Commit dbef0339 authored by Eduardo Klosowski's avatar Eduardo Klosowski
Browse files

Atualização do WhiteNoise (3.0)

parent e1fd8e2b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -46,6 +46,7 @@ INSTALLED_APPS = [
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'whitenoise.runserver_nostatic',
'django.contrib.staticfiles',
]
if DEBUG:
Loading
Loading
@@ -57,6 +58,7 @@ if DEBUG:
 
MIDDLEWARE_CLASSES = [
'django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
Loading
Loading
@@ -139,4 +141,4 @@ STATICFILES_DIRS = (
# Simplified static file serving.
# https://warehouse.python.org/project/whitenoise/
 
STATICFILES_STORAGE = 'whitenoise.django.GzipManifestStaticFilesStorage'
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
brotlipy
Django==1.9.5
dj-database-url==0.4.1
gunicorn==19.4.5
whitenoise==2.0.6
whitenoise==3.0
#mysqlclient==1.3.7
#psycopg2==2.6.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment