]> git.ozlabs.org Git - patchwork/blob - lib/apache2/patchwork.wsgi
tests/parser: Add subject encoding tests
[patchwork] / lib / apache2 / patchwork.wsgi
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #
4 # Apache2 WSGI handler for patchwork
5 #
6 # Copyright © 2010 martin f. krafft <madduck@madduck.net>
7 # Released under the GNU General Public License v2 or later.
8 #
9 import os
10 import sys
11
12 basedir = os.path.dirname(__file__)
13 sys.path.append(basedir)
14
15 os.environ['DJANGO_SETTINGS_MODULE'] = 'apps.settings'
16 import django.core.handlers.wsgi
17 application = django.core.handlers.wsgi.WSGIHandler()