askbot.views.readers

synopsis:views “read-only” for main textual content

By main textual content is meant - text of Questions, Answers and Comments. The “read-only” requirement here is not 100% strict, as for example “question” view does allow adding new comments via Ajax form post.

askbot.views.readers.get_comment(request, *args, **kwargs)

returns text of a comment by id via ajax response requires request method get and request must be ajax

askbot.views.readers.index(request)

index view mapped to the root url of the Q&A site

askbot.views.readers.question(request, id)

view that displays body of the question and all answers to it

askbot.views.readers.questions(request)

List of Questions, Tagged questions, and Unanswered questions. matching search query or user selection

askbot.views.readers.revisions(request, id, object_name=None)
askbot.views.readers.search(request)

redirects to people and tag search pages todo: eliminate this altogether and instead make search “tab” sensitive automatically - the radio-buttons are useless under the search bar

askbot.views.readers.tags(request)

This Page