First time here? Check out the FAQ!
1

Does the skin setting in /settings work?
 

Does the skin settings in /settings/GENERAL_SKIN_SETTINGS/ (i.e. click on settings, then go to "skin and User Interface Settings") have any effect. It seems to have no effect as far as I can see. What does work is the ASKBOT_DEFAULT_SKIN setting in settings.py

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
graeme's avatar
319
graeme
asked 14 years ago

Comments

see more comments

1 Answer

1

It does work, but you have to restart the application. Jinja compiles templates once and keeps them in memory. When you change the setting, the only thing that happens is just that - the setting value changes.

I need to figure out how to invalidate Jinja2 templates so that they are force-recompiled when you change the setting.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
link

Comments

see more comments