Re: Add an extra parameter to 'static' tag

2014-06-02 Thread Renato Oliveira
Thanks for the answers! Renato Oliveira @_renatooliveira <http://twitter.com/_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 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 <https://github.com/labcodes/django-static-chooser> the >>

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 <http://twitter.com/_renatooliveira> Labcodes - www.labcodes.com.br On Sat, May 31, 2014 at 10:20 PM, Renato Oliveira < renatooli

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 U