diff gpp/news/views.py @ 92:62eb9cbbcffc

Need an import for the InvalidPage exception from django.core.paginator.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Sep 2009 04:09:08 +0000
parents b3b11edf91d8
children 2baadae33f2e
line wrap: on
line diff
--- a/gpp/news/views.py	Sun Sep 13 04:05:37 2009 +0000
+++ b/gpp/news/views.py	Sun Sep 13 04:09:08 2009 +0000
@@ -10,6 +10,7 @@
 from django.http import HttpResponseRedirect
 from django.contrib.auth.decorators import login_required
 from django.shortcuts import get_object_or_404
+from django.core.paginator import InvalidPage
 from django.core.urlresolvers import reverse
 from django.db.models import Q
 from django.contrib.sites.models import Site