ordynacje/wsgi.py
2018-06-16 11:22:13 +02:00

21 lines
498 B
Python

"""
WSGI config for ordynacje 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.9/howto/deployment/wsgi/
"""
import os,sys
from django.core.wsgi import get_wsgi_application
path = '/home/gregz09/Pulpit/ordynacje/ordynacje'
if path not in sys.path:
sys.path.append(path)
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ordynacje.settings")
application = get_wsgi_application()