summaryrefslogtreecommitdiffstats
path: root/forum/views.py
diff options
context:
space:
mode:
authorsailingcai <sailingcai@gmail.com>2009-10-12 22:49:12 +0800
committersailingcai <sailingcai@gmail.com>2009-10-12 22:49:12 +0800
commite8f1aef3636a2b9ef10d2d2bc4a768503a3e0d07 (patch)
tree1712741adb98cb9e2c73b3c4d650bcc33128ff64 /forum/views.py
parent65fb7bb5a961342b051566b1488fae20792d90b3 (diff)
downloadaskbot-e8f1aef3636a2b9ef10d2d2bc4a768503a3e0d07.tar.gz
askbot-e8f1aef3636a2b9ef10d2d2bc4a768503a3e0d07.tar.bz2
askbot-e8f1aef3636a2b9ef10d2d2bc4a768503a3e0d07.zip
1. adjust logo css, remove margin-bottom
2. add urlquote in get_absolute_url 3. enable QuestionsPageSizeMiddleware middleware 4. remove unused code
Diffstat (limited to 'forum/views.py')
-rw-r--r--forum/views.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/forum/views.py b/forum/views.py
index dc38bcdf..377e7e8b 100644
--- a/forum/views.py
+++ b/forum/views.py
@@ -115,8 +115,6 @@ def questions(request, tagname=None, unanswered=False):
# template file
# "questions.html" or "unanswered.html"
template_file = "questions.html"
- # Set flag to False by default. If it is equal to True, then need to be saved.
- pagesize_changed = False
# get pagesize from session, if failed then get default value
pagesize = request.session.get("pagesize", 10)
try: