From dbfc1841d5b6849463d527772781a3ba586fefa0 Mon Sep 17 00:00:00 2001 From: zuber Date: Thu, 5 Nov 2009 13:31:37 +0100 Subject: [PATCH] =?utf8?q?Usuni=C4=99cie=20niepotrzebnego=20ju=C5=BC=20pli?= =?utf8?q?ku=20platforma/dispatch.wsgi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- platforma/dispatch.wsgi | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 platforma/dispatch.wsgi diff --git a/platforma/dispatch.wsgi b/platforma/dispatch.wsgi deleted file mode 100755 index 5724b23c..00000000 --- a/platforma/dispatch.wsgi +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -import os -from os import path -import sys - -PROJECT_ROOT = path.realpath(path.dirname(__file__)) - -# 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, path.join(PROJECT_ROOT, '../apps')) -sys.path.insert(0, path.join(PROJECT_ROOT, '../lib')) - -# Emulate manage.py path hacking. -sys.path.insert(0, path.join(PROJECT_ROOT, "..")) -sys.path.insert(0, PROJECT_ROOT) - -# Run Django -os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' - -from django.core.handlers.wsgi import WSGIHandler -application = WSGIHandler() - -- 2.20.1