Re: Add an extra parameter to 'static' tag

2014-06-16 Thread Shai Berger
Hi Renato, Sorry for being a little late to this party. On Sunday 01 June 2014 17:36:43 Renato Oliveira wrote: > > Yeah, i'm aware of this, and sorry for not being explicit. The goal of this > improvement is to point to many places. For exampe, if I have a project > with, bootstrap, jquery and

Re: Add an extra parameter to 'static' tag

2014-06-02 Thread Renato Oliveira
Thanks for the answers! Renato Oliveira @_renatooliveira Labcodes - www.labcodes.com.br On Sun, Jun 1, 2014 at 8:26 PM, Florian Apolloner wrote: > Hi Renato, > > > On Sunday, June 1, 2014 4:36:55 PM UTC+2, Renato Oliveira wrote:

Re: Add an extra parameter to 'static' tag

2014-06-01 Thread Florian Apolloner
Hi Renato, On Sunday, June 1, 2014 4:36:55 PM UTC+2, Renato Oliveira wrote: > > On Sunday, June 1, 2014 3:26:06 AM UTC+2, Renato Oliveira wrote: >>> >>> I open sourced the >>> modification we did (4 or 5 lines plus tests), and was about to send

Re: Add an extra parameter to 'static' tag

2014-06-01 Thread Reinout van Rees
On 01-06-14 16:36, Renato Oliveira wrote: {% static 'path/to/my/angular.js' http://googlecdn/angular.js %} {% static 'path/to/bootstrap.css' http://bootstrapcdn/bootstrap.css %} It seems to me that the core use case of the staticfiles app is to manage *local* css files well. This includes

Re: Add an extra parameter to 'static' tag

2014-06-01 Thread Renato Oliveira
On Sun, Jun 1, 2014 at 6:52 AM, Florian Apolloner wrote: > Hi Renato, > Hi Florian, thanks for answering > > > On Sunday, June 1, 2014 3:26:06 AM UTC+2, Renato Oliveira wrote: >> >> I open sourced the >> modification we

Re: Add an extra parameter to 'static' tag

2014-06-01 Thread Florian Apolloner
Hi Renato, On Sunday, June 1, 2014 3:26:06 AM UTC+2, Renato Oliveira wrote: > > I open sourced the > modification we did (4 or 5 lines plus tests), and was about to send it to > pypi and wondered if it is an improvement to do on Django itself.

Re: Add an extra parameter to 'static' tag

2014-05-31 Thread Renato Oliveira
Sorry if I gave the wrong impression, this e-mail isn't to publish a new project, It's a feature proposal. Renato Oliveira @_renatooliveira Labcodes - www.labcodes.com.br On Sat, May 31, 2014 at 10:20 PM, Renato Oliveira < renatooliveira@gmail.com>

Add an extra parameter to 'static' tag

2014-05-31 Thread Renato Oliveira
Hi all, My name is Renato Oliveira and I'm a Brazilian Django user. Here at my company we use a small modification of static template tag. We added a parameter, URL, and the inside job is when DEBUG is True, the tag returns the local path for the static file, but when DEBUG is false, the URL is