Re: staticfile app question

2011-03-31 Thread Javier Guerra Giraldez
On Thu, Mar 31, 2011 at 9:55 AM, Micah Carrick wrote: > IMO, relative URLs are preferable in external stylesheets. +1 -- Javier -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.co

Re: staticfile app question

2011-03-31 Thread Micah Carrick
I had to look up "grok". Guess I'm out of the loop. Anyway, one other pitfall with using absolute URLs in CSS is that you can break SSL (https) when you have common CSS for both the SSL and non-SSL pages. So watch out for that. IMO, relative URLs are preferable in external stylesheets. In fact, th

RE: staticfile app question

2011-03-31 Thread Chris Matthews
Hi, I liked this explanation/convention http://forum.webfaction.com/viewtopic.php?id=4345 (I opted for this one). If you want more consider django-css https://github.com/dziegler/django-css#readme (I have not tried this). Regards Chris -Original Message- From: django-users@googlegroup

Re: staticfile app question

2011-03-30 Thread Mike Ramirez
On Wednesday, March 30, 2011 05:34:05 pm Jason Culverhouse wrote: Just to add, if you have a seperate server and/or non-normal directory layout for for images and css files, this method doesn't work that well either. Again I'm not saying your suggestion is not a good one, it's just not one tha

Re: staticfile app question

2011-03-30 Thread Mike Ramirez
On Wednesday, March 30, 2011 05:34:05 pm Jason Culverhouse wrote: I don't think you don't grok me, I'm not arguing they aren't allowed and I do know how they work. Your suggestion has been thought about, tossed around and rejected, way before this conversation took place. Mike -- Of all forms

Re: staticfile app question

2011-03-30 Thread Jason Culverhouse
On Mar 30, 2011, at 5:10 PM, Mike Ramirez wrote: > On Wednesday, March 30, 2011 05:01:08 pm Jason Culverhouse wrote: >> On Mar 30, 2011, at 4:50 PM, Mike Ramirez wrote: >>> On Wednesday, March 30, 2011 04:20:32 pm Shawn Milochik wrote: I have the exact same problem. I hope there is a solutio

Re: staticfile app question

2011-03-30 Thread Mike Ramirez
On Wednesday, March 30, 2011 05:01:08 pm Jason Culverhouse wrote: > On Mar 30, 2011, at 4:50 PM, Mike Ramirez wrote: > > On Wednesday, March 30, 2011 04:20:32 pm Shawn Milochik wrote: > >> I have the exact same problem. I hope there is a solution, because > >> good site design often results in imag

Re: staticfile app question

2011-03-30 Thread Mike Ramirez
On Wednesday, March 30, 2011 04:58:42 pm Sells, Fred wrote: > This may be using a canon to swat a fly, but... > > I had a project some time ago where I needed a very repetitive > java/swing UI. I ended up creating python classes that had a __repr__ > method that generated the java source code. T

Re: staticfile app question

2011-03-30 Thread Jason Culverhouse
On Mar 30, 2011, at 4:50 PM, Mike Ramirez wrote: > On Wednesday, March 30, 2011 04:20:32 pm Shawn Milochik wrote: >> I have the exact same problem. I hope there is a solution, because >> good site design often results in image references in the CSS. > > I think you guys are over analyzing the

RE: staticfile app question

2011-03-30 Thread Sells, Fred
This may be using a canon to swat a fly, but... I had a project some time ago where I needed a very repetitive java/swing UI. I ended up creating python classes that had a __repr__ method that generated the java source code. Then I was able to have very concise python files that instantiated the

Re: staticfile app question

2011-03-30 Thread Mike Ramirez
On Wednesday, March 30, 2011 04:20:32 pm Shawn Milochik wrote: > I have the exact same problem. I hope there is a solution, because > good site design often results in image references in the CSS. The best one I've come up with and it's far from 'best' is to run a command that edits css template

Re: staticfile app question

2011-03-30 Thread Shawn Milochik
I have the exact same problem. I hope there is a solution, because good site design often results in image references in the CSS. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com.