Mercurial > public > sg101
changeset 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 | 62af8cd8f57b |
children | 4c33e266db03 |
files | gpp/bio/views.py gpp/downloads/views.py gpp/news/views.py gpp/shoutbox/views.py gpp/weblinks/views.py |
diffstat | 5 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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
--- 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
--- 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
--- 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