Re: [GSoC] Switching to Jinja2 proposal

2014-02-21 Thread Kevin Christopher Henry
Hi Christopher, > ... checks the template extension and dispatch to > corresponding function from `django.dtl` or `jinja2`. > The mechanism for distinguishing the two kinds of template needs to be more flexible. For example, let's say I want to override a third-party template with my own Ji

Re: [GSoC] Switching to Jinja2 proposal

2014-02-21 Thread Ryan Hiebert
On Fri, Feb 21, 2014 at 3:22 PM, Camilo Torres wrote: > - Then, we can create dummy implementations of `render_to_response` (and >> all >>other functions) that checks the template extension and dispatch to >>corresponding function from `django.dtl` or `jinja2`. >> > > Hello, > > Could thi

Re: [GSoC] Switching to Jinja2 proposal

2014-02-21 Thread Camilo Torres
> > - Then, we can create dummy implementations of `render_to_response` (and > all >other functions) that checks the template extension and dispatch to >corresponding function from `django.dtl` or `jinja2`. > Hello, Could this create a little problem for the people in charge of the tem

Re: [GSoC] Switching to Jinja2 proposal

2014-02-21 Thread Christopher Medrela
I'm sorry for such long time without any reply, but I was investigating possible approaches of mixing Django and Jinja2 templates. On Sunday, February 16, 2014 1:08:49 AM UTC+1, Russell Keith-Magee wrote: > > > On Sun, Feb 16, 2014 at 12:43 AM, Christopher Medrela > wrote: > >> My last post was

Re: GSOC 2014 Project Proposal

2014-02-21 Thread Camilo Torres
On Thursday, February 20, 2014 2:42:07 PM UTC-4:30, Devashish Badlani wrote: > > I am into my last year of graduation and I am currently an intern in Khan > Academy ,Foundation for Learning Equality from IIT Bombay .I have been > developing working with Django for the same > > *Title*: Building b

Re: `prefetch_related` for non-homogenous data and "weak" lookups through GFKs

2014-02-21 Thread Andrew Pashkin
Ive made workaround for this case as external app . On Sunday, February 9, 2014 12:14:32 AM UTC+4, Andrew Pashkin wrote: > > With GenericForeignKey functionality, it is possible to refer to > arbitrary model. Let's ay we have Like model,

Re: ForeignKey in Inline generates lots of queries

2014-02-21 Thread Tim Graham
Hi John, django-developers is for discussion of the development of Django itself. It isn't a second level support channel if your query on django-users goes unanswered. Thanks! On Thursday, February 20, 2014 5:45:27 PM UTC-5, john@plushrugs.com wrote: > > I posted this to Django users, but

Choosing fallback language for translation (#16284)

2014-02-21 Thread Krzysztof Jurewicz
Hi, I’m raising the issues found in ticket #16284 ( https://code.djangoproject.com/ticket/16284 ). To sum up, here is how Django currently chooses translation in jsi18n: — It searches for a translation for the active language. — If the above is not found, it searches for the settings.LANGUAGE