Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
91:62af8cd8f57b | 92:62eb9cbbcffc |
---|---|
9 from django.http import Http404 | 9 from django.http import Http404 |
10 from django.http import HttpResponse | 10 from django.http import HttpResponse |
11 from django.http import HttpResponseRedirect | 11 from django.http import HttpResponseRedirect |
12 from django.http import HttpResponseForbidden | 12 from django.http import HttpResponseForbidden |
13 from django.http import HttpResponseBadRequest | 13 from django.http import HttpResponseBadRequest |
14 from django.core.paginator import InvalidPage | |
14 from django.core.urlresolvers import reverse | 15 from django.core.urlresolvers import reverse |
15 from django.db.models import Q | 16 from django.db.models import Q |
16 from django.views.decorators.http import require_POST | 17 from django.views.decorators.http import require_POST |
17 | 18 |
18 from core.paginator import DiggPaginator | 19 from core.paginator import DiggPaginator |