First time here? Check out the FAQ!
0

ASKBOT_EXTRA_SKINS_DIR settings stalls model validation
 

If I uncomment the ASKBOT_EXTRA_SKINS_DIR settings the model validation just stalls never to recover again until i recomment 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)
anonymous user
asked 12 years ago

Comments

Does the directory exist?

Evgeny's avatar Evgeny (12 years ago)

Please give a snippet of settings that leads to the error, we might improve the settings validator based on your input.

Evgeny's avatar Evgeny (12 years ago)
see more comments

1 Answer

2

Create the directory indicated by ASKBOT_EXTRA_SKINS_DIR (for example: skin/my_askbot). This directory must have the same structure as static/common or static/default (ie: countains the directories media and templates). The files in your skin directory will override the files of common and default.

In settings.py add STATICFILES_DIRS = (os.path.join(ASKBOT_ROOT, 'skins'), ASKBOT_EXTRA_SKINS_DIR)

Finally, in your site, log you as root user and in settings->Logos and HTML <head> parts choose the name of your skin.

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)
tristan's avatar
95
tristan
answered 12 years ago, updated 12 years ago
link

Comments

see more comments