Ticket #16311 review please ? (admin.filter.RelatedFieldListFilter extension)

2014-05-22 Thread Stan
Hi devs, Could some take a look at this cool pull requestsplease ? I know the 5 for 1 rule but quite frankly I can't find something to work on (so if you want to put me on something in particular, that's fine :) TL;DR : In your *space_program* app

Re: Why not Single Table Inheritance?

2014-05-22 Thread Anssi Kääriäinen
I think it is time to add a new model classmethod from_db() to Django. The idea is to allow customization of object initialization when loading from database. Instead of calling directly model.__init__ from the queryset iterators, Django calls model_cls.from_db(). The default implementation cal

Re: Why not Single Table Inheritance?

2014-05-22 Thread Shai Berger
On Thursday 22 May 2014 11:05:24 Anssi Kääriäinen wrote: > I think it is time to add a new model classmethod from_db() to Django. > > The idea is to allow customization of object initialization when loading > from database. Instead of calling directly model.__init__ from the queryset > iterators,

Re: Why not Single Table Inheritance?

2014-05-22 Thread Anssi Kääriäinen
On 05/22/2014 11:13 AM, Shai Berger wrote: Any thoughts on this idea? Instinctively -- isn't it possible to achieve the same things today by overriding __new__ ? My understanding is that achieving all the same things isn't possible. The problem is that inside __new__ it is impossible to know i

Re: Schema tests and .extra queryset method

2014-05-22 Thread Maximiliano Robaina
El miércoles, 21 de mayo de 2014 21:06:22 UTC-3, Russell Keith-Magee escribió: > > Hi Maximiliano, > > Thanks for letting us know. If you find a problem like this, the best way > to report it is to open a ticket in Trac. That way we have a permanent > record of the existence of the issue, and w

Re: Schema tests and .extra queryset method

2014-05-22 Thread Maximiliano Robaina
El jueves, 22 de mayo de 2014 03:24:12 UTC-3, Shai Berger escribió: > > Hi Maximiliano, > > The issue of case in quoted and un-quoted names in SQL is indeed a sad > mess, > bad decisions made in the 1960s that we still need to live with today. > > On Wednesday 21 May 2014 15:38:57 Maximiliano