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.

anonymous user
asked 2012-05-10 08:58:05 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Does the directory exist?

Evgeny's avatar Evgeny (2012-05-10 09:11:54 -0500) edit

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 (2012-05-11 12:30:52 -0500) edit
add a comment 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.

tristan's avatar
95
tristan
answered 2012-05-11 02:24:31 -0500, updated 2012-05-11 05:05:40 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments