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: [GSOC] Weekly update

2014-06-01 Thread Daniel Pyrathon
Hi All, An update on my side, some interesting work has happened this week: me and Russell have decided to start on the implementation early in order to understand better the internals of Options. Currently I am working on the following: *Providing one single function: get_fields(types, opts,

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: Support for function application in ORDER BY

2014-06-01 Thread Tim Martin
Funnily enough, I'd already seen that patch but I hadn't figured out the full significance of it. I attempted to solve #22288 (https://code.djangoproject.com/ticket/22288), but spotted that your patch would possibly solve the problem entirely, and at the very least breaks my attempt to solve

Re: Support for function application in ORDER BY

2014-06-01 Thread Josh Smeaton
I would like to point you towards a patch I'm currently working on which is essentially your option 2: https://github.com/django/django/pull/2496 It doesn't seem very relevant at first, since it only applies to .annotate and .aggregate, but the infrastructure behind it certainly does. In short,