Simple update.
[turniej.git] / turniej / wsgi.py
1 import os
2 import os.path
3 import sys
4
5 ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
6
7 # Add apps and lib directories to PYTHONPATH
8 sys.path = [
9     os.path.join(ROOT, 'apps'),
10 ] + sys.path
11
12
13 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "turniej.settings")
14
15 # This application object is used by the development server
16 # as well as any WSGI server configured to use this file.
17 from django.core.wsgi import get_wsgi_application
18 application = get_wsgi_application()