Fix small bug in templates and tweak settings

This commit is contained in:
Livvy Mackintosh
2017-10-31 16:00:44 +01:00
parent 43d6ec989b
commit aa6c1cf33b
5 changed files with 10 additions and 20 deletions

View File

@ -8,9 +8,9 @@ https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
"""
import os
from raven.contrib.django.raven_compat.middleware.wsgi import Sentry
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ojusomap.settings")
application = get_wsgi_application()
application = Sentry(get_wsgi_application())