Ask Your Question
0

ASKBOT_EXTRA_SKINS_DIR settings stalls model validation

asked 2012-05-10 08:58:05 -0600

anonymous user

Anonymous

If I uncomment the ASKBOT_EXTRA_SKINS_DIR settings the model validation just stalls never to recover again until i recomment the setting.

edit retag flag offensive close merge delete

Comments

Does the directory exist?

Evgeny gravatar imageEvgeny ( 2012-05-10 09:11:54 -0600 )edit

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

Evgeny gravatar imageEvgeny ( 2012-05-11 12:30:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-05-11 02:24:31 -0600

tristan gravatar image

updated 2012-05-11 05:05:40 -0600

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.

edit flag offensive delete link more

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

Stats

Asked: 2012-05-10 08:58:05 -0600

Seen: 383 times

Last updated: May 11 '12