blob: 02d581d0e948c04b27748594ffcea69036aa91de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/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.prod'
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
|