summaryrefslogtreecommitdiffstats
path: root/forum
diff options
context:
space:
mode:
authorAdolfo Fitoria <fitoria@fitoria-laptop.(none)>2009-07-30 12:02:30 -0600
committerAdolfo Fitoria <fitoria@fitoria-laptop.(none)>2009-07-30 12:02:30 -0600
commitd2995b35a24743f9f2e60b1b9c06fc58917791b7 (patch)
tree0ec7772b1fa7c1a88bd60c585cc0c8a7adbccc1a /forum
parentca1352969368cdd8e5fb83bc06105c6003a2b8f5 (diff)
downloadaskbot-d2995b35a24743f9f2e60b1b9c06fc58917791b7.tar.gz
askbot-d2995b35a24743f9f2e60b1b9c06fc58917791b7.tar.bz2
askbot-d2995b35a24743f9f2e60b1b9c06fc58917791b7.zip
Revert "fixing the little bug" There was no bug just a missing
__init__.py file This reverts commit 30202c88eadc4d64a9bac00d7c241d2d20158d82.
Diffstat (limited to 'forum')
-rw-r--r--forum/views.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/forum/views.py b/forum/views.py
index 8a2ba812..08a0e958 100644
--- a/forum/views.py
+++ b/forum/views.py
@@ -115,11 +115,7 @@ def questions(request, tagname=None, unanswered=False):
# 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
- #ERROR: this does not do what it wants ^^
- #pagesize = request.session.get("pagesize")
- #HACK: temporal hack
- pagesize = int(request.GET.get("pagesize", QUESTIONS_PAGE_SIZE))
-
+ pagesize = request.session.get("pagesize")
try:
page = int(request.GET.get('page', '1'))
except ValueError: