Re: Settings.py variables in CSS file

2007-08-17 Thread Andy
Thanks for the responses. > Why not use relative paths in yourcssfiles? They're relative to thecssfile, > not the html file, so you can do url(../images/diag.gif). > I'm assuming that all media files are on the same host and that only > the base media directory name is adapted to the svn version

Re: Settings.py variables in CSS file

2007-08-15 Thread simonbun
Why not use relative paths in your css files? They're relative to the css file, not the html file, so you can do url(../images/diag.gif). I'm assuming that all media files are on the same host and that only the base media directory name is adapted to the svn version though. regards, Simon On Aug

Re: Settings.py variables in CSS file

2007-08-15 Thread James Bennett
On 8/15/07, Andy <[EMAIL PROTECTED]> wrote: > It works, except it seems horribly inefficient. The problem is *each > time* a page is requested, it would have to do a remote URL Request, > write the new css file, etc. Has anyone been confronted with this > problem. Is there an easier solution?

Settings.py variables in CSS file

2007-08-15 Thread Andy
We are hosting our media files on a separate server from our web server. We are also using SVN for all of the django files, and the parent directories for the remote media files will correlate to the SVN version (i.e. see "media_231" below). The goal here is to be able to embed django settings.p