Mercurial > public > sg101
comparison gpp/bio/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 | 08cd19c1ee50 |
children | a20b2c492d55 |
comparison
equal
deleted
inserted
replaced
91:62af8cd8f57b | 92:62eb9cbbcffc |
---|---|
5 from django.shortcuts import render_to_response | 5 from django.shortcuts import render_to_response |
6 from django.shortcuts import get_object_or_404 | 6 from django.shortcuts import get_object_or_404 |
7 from django.template import RequestContext | 7 from django.template import RequestContext |
8 from django.contrib import auth | 8 from django.contrib import auth |
9 from django.http import HttpResponseRedirect | 9 from django.http import HttpResponseRedirect |
10 from django.core.paginator import InvalidPage | |
10 from django.core.urlresolvers import reverse | 11 from django.core.urlresolvers import reverse |
11 from django.contrib.auth.decorators import login_required | 12 from django.contrib.auth.decorators import login_required |
12 | 13 |
13 from elsewhere.models import SocialNetworkForm | 14 from elsewhere.models import SocialNetworkForm |
14 from elsewhere.models import InstantMessengerForm | 15 from elsewhere.models import InstantMessengerForm |