summaryrefslogtreecommitdiffstats
path: root/forum/views/content.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-15 16:47:41 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-02-15 16:47:41 -0500
commit555de7f911f34268e0e008eff653bcd342a929b6 (patch)
tree8e0cedd3fc21ec9d1fdda8d439eac9b25516f9b2 /forum/views/content.py
parent537e839ccf52f3b415852d219a07b9f924e946e1 (diff)
downloadaskbot-555de7f911f34268e0e008eff653bcd342a929b6.tar.gz
askbot-555de7f911f34268e0e008eff653bcd342a929b6.tar.bz2
askbot-555de7f911f34268e0e008eff653bcd342a929b6.zip
added WISH_LIST based on email discussions and renamed TODO --> PENDING
Diffstat (limited to 'forum/views/content.py')
-rw-r--r--forum/views/content.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/forum/views/content.py b/forum/views/content.py
index 2833edfc..ebb18f59 100644
--- a/forum/views/content.py
+++ b/forum/views/content.py
@@ -47,7 +47,7 @@ ANSWERS_PAGE_SIZE = 10
markdowner = Markdown(html4tags=True)
#system to display main content
-def _get_tags_cache_json():#service routine
+def _get_tags_cache_json():#service routine used by views requiring tag list in the javascript space
"""returns list of all tags in json format
no caching yet, actually
"""
@@ -59,7 +59,7 @@ def _get_tags_cache_json():#service routine
tags = simplejson.dumps(tags_list)
return tags
-def _get_and_remember_questions_sort_method(request, view_dic, default):#service routine
+def _get_and_remember_questions_sort_method(request, view_dic, default):#service routine used by q listing views and question view
"""manages persistence of post sort order
it is assumed that when user wants newest question -
then he/she wants newest answers as well, etc.
@@ -353,7 +353,7 @@ def search(request): #generates listing of questions matching a search query - i
else:
raise Http404
-def tag(request, tag):#generates listing of questions tagged with a single tag
+def tag(request, tag):#stub generates listing of questions tagged with a single tag
return questions(request, tagname=tag)
def tags(request):#view showing a listing of available tags - plain list