Mercurial > public > sg101
diff gpp/downloads/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 | a5f27f25fa52 |
children | 0e4961833cdf |
line wrap: on
line diff
--- 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