Ask Your Question

change css directly to server without need to install again?

asked 2012-03-16 20:10:17 -0500

alexandros.z gravatar image

updated 2012-03-17 07:53:21 -0500

Hello to all. I am a newbie in python/django and I guess probably this is the reason I am facing this problem. I successfully installed askbot 0.7.39 locally and now I want to start editing askbot\skins\default\media\style\style.css and run some experiments.

What I would like to do is to directly edit this css inside my project (btw, when I installed askbot another style.css was created inside build folder) and refresh the page and see my changes applied. But nothing changes :(

The only workaround I found until now is to delete build folder, re-install and then see my changes. But this is very time consuming.

Do you have any suggestions? As I said before, I am a newbie, so probably I am missing something very fundamental here.

Thanx for any help

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-03-17 08:29:16 -0500

Evgeny gravatar image

updated 2012-03-17 08:30:15 -0500

Please take a look at the skin documentation. To avoid the trouble please do not edit the style.css file.

It is best to create a blank custom skin (do not copy any files there, but the directory structure must be the same as in the default skin) in a separate directory and in that skin edit file extra.css. If your changes are very substantial, then instead create a file style.less and edit that and read about using .less files in askbot.

Do not forget to run command python collectstatic to copy the edited files to the server's static files directory.

edit flag offensive delete link more


Thank you so much for your answer. I will try what you suggested to me and I will let you know. Hope in future be able to ask more expert question or even better contribute to the sources by fixing bugs or adding features.

alexandros.z gravatar imagealexandros.z ( 2012-03-17 09:42:22 -0500 )edit

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


Asked: 2012-03-16 20:10:17 -0500

Seen: 207 times

Last updated: Mar 17 '12