Re: Single table inheritance - working implementation

2012-12-23 Thread Krzysztof Jurewicz
Dnia 2012-12-21, pią o godzinie 11:05 -0800, Anssi Kääriäinen pisze: > I went with a different approach than the patch for 1.5. At this stage > as minimal as possible change to get_default_columns() seemed like a > good idea. See commit a0155f35343afbfd9e98ab9aa4615f06780f697e in > stable/1.5.x. >

Re: Single table inheritance - working implementation

2012-12-21 Thread Anssi Kääriäinen
On 21 joulu, 16:39, Krzysztof Jurewicz wrote: > On 13.12.2012 15:54, Anssi K ri inen wrote: > > > Second, I have created a patch which should allow your work to > > continue working in master. See >

Re: Single table inheritance - working implementation

2012-12-21 Thread Krzysztof Jurewicz
On 13.12.2012 15:54, Anssi Kääriäinen wrote: Second, I have created a patch which should allow your work to continue working in master. See https://github.com/akaariai/django/commit/94c417d2a29a0f72b26019fc38ef400420097aa4 - the idea is to change get_fields_with_model() so that it doesn't return

Re: Single table inheritance - working implementation

2012-12-13 Thread Anssi Kääriäinen
On 11 joulu, 17:56, Anssi Kääriäinen wrote: > Would a model._meta.get_default_columns() work for you? While this > would still be internal API, it would be hopefully less likely to > change in ways that require extensive rewrites to 3rd party apps. First, the

Re: Single table inheritance - working implementation

2012-12-11 Thread Anssi Kääriäinen
On 7 joulu, 16:18, Krzysztof Jurewicz wrote: > On 29.10.2012 14:34, Krzysztof Jurewicz wrote: > > > In February, Craig de Stigter released django-typed-models > > , > > a package implementing

Re: Single table inheritance - working implementation

2012-12-07 Thread Krzysztof Jurewicz
On 29.10.2012 14:34, Krzysztof Jurewicz wrote: In February, Craig de Stigter released django-typed-models , a package implementing inheritance hierarchy for Proxy models with automatic type recasting. I've written a fork of

Re: Single table inheritance - working implementation

2012-10-29 Thread Craig de Stigter
Hi Krzysztof and everyone else Thanks! Your fork looks very promising. I'll review the fork today and possibly pull changes in if the changes aren't too disruptive. Some more tests would probably be good. I've added a New BSD