# HG changeset patch # User Brian Neal # Date 1252814948 0 # Node ID 62eb9cbbcffcb730734971696ae0802396350392 # Parent 62af8cd8f57be7b92d1d4ee0d0595c70563c937b Need an import for the InvalidPage exception from django.core.paginator. diff -r 62af8cd8f57b -r 62eb9cbbcffc gpp/bio/views.py --- a/gpp/bio/views.py Sun Sep 13 04:05:37 2009 +0000 +++ b/gpp/bio/views.py Sun Sep 13 04:09:08 2009 +0000 @@ -7,6 +7,7 @@ from django.template import RequestContext from django.contrib import auth from django.http import HttpResponseRedirect +from django.core.paginator import InvalidPage from django.core.urlresolvers import reverse from django.contrib.auth.decorators import login_required diff -r 62af8cd8f57b -r 62eb9cbbcffc gpp/downloads/views.py --- a/gpp/downloads/views.py Sun Sep 13 04:05:37 2009 +0000 +++ b/gpp/downloads/views.py Sun Sep 13 04:09:08 2009 +0000 @@ -11,6 +11,7 @@ from django.http import HttpResponseRedirect from django.http import HttpResponseForbidden from django.http import HttpResponseBadRequest +from django.core.paginator import InvalidPage from django.core.urlresolvers import reverse from django.db.models import Q from django.views.decorators.http import require_POST diff -r 62af8cd8f57b -r 62eb9cbbcffc gpp/news/views.py --- 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 diff -r 62af8cd8f57b -r 62eb9cbbcffc gpp/shoutbox/views.py --- a/gpp/shoutbox/views.py Sun Sep 13 04:05:37 2009 +0000 +++ b/gpp/shoutbox/views.py Sun Sep 13 04:09:08 2009 +0000 @@ -5,6 +5,7 @@ import re from django.shortcuts import render_to_response from django.template import RequestContext +from django.core.paginator import InvalidPage from django.http import HttpResponse from django.http import HttpResponseBadRequest from django.http import HttpResponseForbidden diff -r 62af8cd8f57b -r 62eb9cbbcffc gpp/weblinks/views.py --- a/gpp/weblinks/views.py Sun Sep 13 04:05:37 2009 +0000 +++ b/gpp/weblinks/views.py Sun Sep 13 04:09:08 2009 +0000 @@ -7,6 +7,7 @@ from django.shortcuts import render_to_response from django.template import RequestContext from django.contrib import auth +from django.core.paginator import InvalidPage from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from django.shortcuts import get_object_or_404