wsgi.py 386 Bytes
Newer Older
1
"""
Charlie Jacomme's avatar
Charlie Jacomme committed
2
WSGI config for plop project.
3

Charlie Jacomme's avatar
Charlie Jacomme committed
4
It exposes the WSGI callable as a module-level variable named ``application``.
5

Charlie Jacomme's avatar
Charlie Jacomme committed
6 7
For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
8
"""
Charlie Jacomme's avatar
Charlie Jacomme committed
9

10 11
import os

Charlie Jacomme's avatar
Charlie Jacomme committed
12
from django.core.wsgi import get_wsgi_application
Vincent Le gallic's avatar
Vincent Le gallic committed
13

14
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "note.settings")
Vincent Le gallic's avatar
Vincent Le gallic committed
15

16
application = get_wsgi_application()