First time here? Check out the FAQ!
1

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

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.

SocialQA's avatar
265
SocialQA
asked 2013-12-21 10:13:25 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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

from askbot.conf import settings as askbot_settings
askbot_settings.APP_SHORT_NAME

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 settings.py file:

ASKBOT_APP_SHORT_NAME = 'My Site' #i.e. all settings are just prefixed with ASKBOT_ for the settings.py file.
Evgeny's avatar
13.2k
Evgeny
answered 2013-12-21 10:49:15 -0500, updated 2013-12-21 11:39:22 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments