diff options
| author | Stephen Finucane <stephen.finucane@intel.com> | 2016-02-05 17:31:57 +0000 |
|---|---|---|
| committer | Stephen Finucane <stephen.finucane@intel.com> | 2016-02-08 18:56:12 +0000 |
| commit | 8fe68d96f18eab84479697cbb0439ba616fcc162 (patch) | |
| tree | 0fc4a13dfe4ccbb39c0b18312b6a2c85c4765e86 /lib | |
| parent | 16ff40d48afaa041046617a2faf7b3150c3126eb (diff) | |
| download | patchwork-8fe68d96f18eab84479697cbb0439ba616fcc162.tar patchwork-8fe68d96f18eab84479697cbb0439ba616fcc162.tar.gz | |
wsgi: Move wsgi file to expected location
Django places a wsgi.py file in the root of each application's
directory. Do this, adding a symlink to preserve existing
operation for users.
Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/apache2/patchwork.wsgi | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/apache2/patchwork.wsgi b/lib/apache2/patchwork.wsgi deleted file mode 100644 index efa870b..0000000 --- a/lib/apache2/patchwork.wsgi +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- -# -# Apache2 WSGI handler for patchwork -# -# Copyright © 2010 martin f. krafft <madduck@madduck.net> -# Released under the GNU General Public License v2 or later. -# -import os -import sys - -basedir = os.path.join( - os.path.dirname(__file__), os.path.pardir, os.path.pardir) -sys.path.append(basedir) - -os.environ['DJANGO_SETTINGS_MODULE'] = 'patchwork.settings.production' - -from django.core.wsgi import get_wsgi_application -application = get_wsgi_application() |