askbot.views.meta

synopsis:remaining “secondary” views for askbot

This module contains a collection of views displaying all sorts of secondary and mostly static content.

askbot.views.meta.about(request, template='about.html')
askbot.views.meta.badge(request, id)
askbot.views.meta.badges(request)
askbot.views.meta.faq(request)
askbot.views.meta.feedback(request)
askbot.views.meta.generic_view(request, template=None)
askbot.views.meta.logout(request)
askbot.views.meta.media(request, skin, resource)

view that serves static media from any skin uses django static serve view, where document root is adjusted according to the current skin selection

in production this views should be by-passed via server configuration for the better efficiency of serving static files

askbot.views.meta.page_not_found(request, template='404.html')
askbot.views.meta.privacy(request)
askbot.views.meta.server_error(request, template='500.html')

This Page