Setup ready for Heroku

This commit is contained in:
Tom Price
2015-04-24 16:44:26 +01:00
parent 53ad4f264e
commit 2d0f8eeaa3
3 changed files with 11 additions and 26 deletions

View File

@@ -6,9 +6,7 @@ It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PyRIGS.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
from dj_static import Cling
application = Cling(get_wsgi_application())