X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/81301c1c50d2dd24bc8f2b132e5947d95bf0ea9c..fb1b8f7e6c3aee1ba755affdf27472a7c995050d:/wolnelektury/deploy/wolnelektury.wsgi?ds=sidebyside diff --git a/wolnelektury/deploy/wolnelektury.wsgi b/wolnelektury/deploy/wolnelektury.wsgi deleted file mode 100644 index 4fead214d..000000000 --- a/wolnelektury/deploy/wolnelektury.wsgi +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env python -from os.path import abspath, dirname, join -import sys - -# Redirect sys.stdout to sys.stderr for bad libraries like geopy that use -# print statements for optional import exceptions. -sys.stdout = sys.stderr - -# Add apps and lib directories to PYTHONPATH -sys.path.insert(0, abspath(join(dirname(__file__), '../../apps'))) -sys.path.insert(0, abspath(join(dirname(__file__), '../../lib'))) - -# Emulate manage.py path hacking. -sys.path.insert(0, abspath(join(dirname(__file__), "../../"))) -sys.path.insert(0, abspath(join(dirname(__file__), "../"))) - -# Run Django -os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' - -from django.core.handlers.wsgi import WSGIHandler -application = WSGIHandler() -