diff forums/views/favorites.py @ 662:b347a31d12dd

For issue #44, add an import for InvalidPage.
author Brian Neal <bgneal@gmail.com>
date Wed, 15 May 2013 20:13:05 -0500
parents ee87ea74d46b
children e932f2ecd4a7
line wrap: on
line diff
--- a/forums/views/favorites.py	Tue May 14 21:02:47 2013 -0500
+++ b/forums/views/favorites.py	Wed May 15 20:13:05 2013 -0500
@@ -11,6 +11,7 @@
 from django.http import HttpResponseForbidden
 from django.http import Http404
 
+from django.core.paginator import InvalidPage
 from core.paginator import DiggPaginator
 from forums.models import Topic
 import forums.permissions as perms