Ask Your Question

how to set {{app_name}} to other than "Askbot"

asked 2013-12-21 10:13:25 -0500

SocialQA's avatar

Whats the best way we can programmatically set the different value for {{app_name}} we have clearly mentioned in the site that the site is supported by askbot framework but we want to make sure user is not confuse so how can we set our own name.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-21 10:49:15 -0500

Evgeny's avatar

updated 2013-12-21 11:39:22 -0500

In the templates it is {{ settings.APP_SHORT_NAME }}, in Python code:

from askbot.conf import settings as askbot_settings

This value can be set via the "settings" -> "urls, keywords and greetings" -> "short name for your Q&A forum".

In the future (already works with the code from the github) it will also be possible to set the value via file:

ASKBOT_APP_SHORT_NAME = 'My Site' #i.e. all settings are just prefixed with ASKBOT_ for the file.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-12-21 10:13:25 -0500

Seen: 138 times

Last updated: Dec 21 '13