comparison gpp/shoutbox/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 777451a98f9d
children a20b2c492d55
comparison
equal deleted inserted replaced
91:62af8cd8f57b 92:62eb9cbbcffc
3 """ 3 """
4 4
5 import re 5 import re
6 from django.shortcuts import render_to_response 6 from django.shortcuts import render_to_response
7 from django.template import RequestContext 7 from django.template import RequestContext
8 from django.core.paginator import InvalidPage
8 from django.http import HttpResponse 9 from django.http import HttpResponse
9 from django.http import HttpResponseBadRequest 10 from django.http import HttpResponseBadRequest
10 from django.http import HttpResponseForbidden 11 from django.http import HttpResponseForbidden
11 from django.http import HttpResponseRedirect 12 from django.http import HttpResponseRedirect
12 from django.contrib.auth.decorators import login_required 13 from django.contrib.auth.decorators import login_required