src/hdalab/wsgi.py
author ymh <ymh.work@gmail.com>
Sun, 16 Nov 2014 19:35:12 +0100
changeset 360 6129e7390abe
parent 345 7bc38c7d6cf9
permissions -rw-r--r--
factorise code

"""
WSGI config for mysite project.

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.6/howto/deployment/wsgi/
"""

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "hdalab.settings")

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()