]> git.openstreetmap.org Git - osqa.git/commitdiff
Update readers.py
authorHaibin <ollie@sina.com>
Sun, 9 Feb 2014 13:04:13 +0000 (21:04 +0800)
committerHaibin <ollie@sina.com>
Sun, 9 Feb 2014 13:04:13 +0000 (21:04 +0800)
Suggest adding:
from django.utils.http import urlquote

forum/views/readers.py

index 669eaf3006a849aefdaf84d40e3adf72d6089742..a8b94e92e200bec718b5f77aec4a07a4b2d1cb1f 100644 (file)
@@ -8,6 +8,7 @@ from django.core.paginator import Paginator, EmptyPage, InvalidPage
 from django.template import RequestContext
 from django import template
 from django.utils.html import *
+from django.utils.http import urlquote
 from django.db.models import Q, Count
 from django.utils.translation import ugettext as _
 from django.core.urlresolvers import reverse