Files @ 8f4c8a69d6f8
Branch filter:

Location: website/www/wsgicustom.wsgi

bkuhn
Rework blog's custom_index for new pagination.

The pagination support changed, and as was previously done a few commits
ago for news, I'm trying a similar solution for blogs.

In this case, I'm trying to use the existing custom_index() method we
have and adapt it to properly support pagination in the way we want.

I'm not completely sure this will work, but I think it's at least close.
# wsgicustom.py

import os
import sys

sys.path = ['/var/www'] + sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = 'conservancy.settings'

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