Mercurial > public > sg101
diff gpp/weblinks/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 | 884839ddbfde |
children | 952e05cb3d80 |
line wrap: on
line diff
--- 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