Is there a way we could use in the footer (or any) template to display what the askbot version is?
I tried using {{ askbot.get_version() }}, but get an exception.
Is there an easy fix?
Done. That was because the application variables are not generally accessible in the templates. Django adds them via template context processors (but then you need to use the request context objects) or through the template data from the view functions.
The version shown will be correct if the code is taken from the Python Package index, but may be somewhat misleading it is taken from the repository, not sure how to deal with that yet.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2011-01-05 11:40:57 -0500
Seen: 27 times
Last updated: Jan 05 '11
Feature request: Add classes to body in default skin
Search related questions when posting a question
Please allow diacritic characters for user names.
Please allow hyphens for user names.
Can the interface for searching with tags be improved?
can (should) users send email or post messages to moderators? [done]
Plans to support attachments other than images? [done]
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.