X-Git-Url: https://git.mdrn.pl/turniej.git/blobdiff_plain/0968cfbe5012ab5fe8eae41d0dd370b9c99678ca..96480f028f5d5908774c469ee9cbf38768225464:/turniej.wsgi.template diff --git a/turniej.wsgi.template b/turniej.wsgi.template deleted file mode 100644 index af1781c..0000000 --- a/turniej.wsgi.template +++ /dev/null @@ -1,26 +0,0 @@ -#!%(python)s -import site -site.addsitedir('%(site_packages)s') - -import os -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 = [ - '%(path)s/releases/current/%(project_name)s', - '%(path)s/releases/current', - '%(path)s/releases/current/apps', - '%(path)s/releases/current/lib', - # add paths to submodules here -] + sys.path - -# Run Django -os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' - -from django.core.handlers.wsgi import WSGIHandler -application = WSGIHandler()