Ask Your Question
0

ASKBOT_EXTRA_SKINS_DIR settings stalls model validation

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

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.

delete close flag offensive retag edit

Comments

Does the directory exist?

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

1 Answer

Sort by ยป oldest newest most voted
1

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

tristan gravatar image tristan flag of France
85 2 1 8

updated 2012-05-11 05:05:40 -0500

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.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

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

Seen: 120 times

Last updated: May 11 '12