Commit 620bb75c by Kenneth Reitz Committed by GitHub

Merge pull request #54 from neosergio/master

Add DjangoWhiteNoise in wsgi.py
parents 15a67033 82077610
......@@ -10,7 +10,9 @@ 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", "{{ project_name }}.settings")
application = get_wsgi_application()
application = DjangoWhiteNoise(application)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment