Files @ 66dbfac066b0
Branch filter:

Location: website/www/wsgicustom.wsgi

brett
Migrate RequestContext users to render() calls.

This was necessary because render_to_response no longer takes a
context_instance. We were always using this to pass in a RequestContext,
which the render shortcut can already do, so switch to that.
# wsgicustom.py

import os
import sys

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()