Files @ 123eb7603cee
Branch filter:

Location: website/www/wsgicustom.wsgi

Bradley M. Kuhn
Use typical way of putting the category in a block.

Django is so frustrating as it's never clear about how things trickle
up and down through templates, so move the category to the top like
the others.
#!/usr/bin/env python

import os
import sys

# Work around <https://bugs.python.org/issue7980>
import _strptime

root_dir = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, root_dir)
os.environ['DJANGO_SETTINGS_MODULE'] = 'conservancy.settings'

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()