2 # -*- coding: utf-8 -*-
4 # Apache2 WSGI handler for patchwork
6 # Copyright © 2010 martin f. krafft <madduck@madduck.net>
7 # Released under the GNU General Public License v2 or later.
12 basedir = os.path.join(
13 os.path.dirname(__file__), os.path.pardir, os.path.pardir)
14 sys.path.append(basedir)
16 os.environ['DJANGO_SETTINGS_MODULE'] = 'patchwork.settings.production'
18 from django.core.wsgi import get_wsgi_application
19 application = get_wsgi_application()