Ask Your Question

Introduce new variables in

asked 2013-11-12 16:01:19 -0500

SocialQA's avatar

How can I add new variables and their defaults values to such that they get created in settings file during the installation time.


show_widget = False
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-11-12 16:30:04 -0500

Adding variables to the setting template?

You'll need to modify the askbot/setup_templates/settings.mustache so that way when you create a new project your custom values will be on the project's file.

edit flag offensive delete link more

answered 2013-11-12 16:59:27 -0500

Evgeny's avatar

updated 2013-11-12 17:34:37 -0500

Hello there, if you're asking about the settings that are available at the "settings" link, then have a look at how to create "overrides" for the livesettings django app.

Those actually can be also added to the template Adolfo mentioned.

edit flag offensive delete link more


Thanks its good to know about this option too.

SocialQA's avatar SocialQA  ( 2013-11-13 14:54:39 -0500 )edit

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-11-12 16:01:19 -0500

Seen: 189 times

Last updated: Nov 12 '13