21 lines
498 B
Python
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()
|
|
|
|
|