Re: Composite fields once again

2013-06-14 Thread Michal Petrucha
Oh wow, have two weeks passed already? I seem to really suck at email... \-: Anyway, thanks for the comments. On Fri, Jun 07, 2013 at 03:55:12AM -0700, Anssi Kääriäinen wrote: > Looks like a good plan. Getting CompositeFields, multicolumn primary > keys and foreign keys to work as well as possible

Re: Composite fields once again

2013-06-07 Thread Anssi Kääriäinen
As nobody else have responded, here are my opinions... On 2 kesä, 17:22, Michal Petrucha wrote: > 1) create a solid implementation of virtual fields > 2) refactor ForeignKey/OneToOneField to become virtual fields > 3) implement CompositeField > 4) make CompositeField work with as many additional

Re: Composite fields once again

2013-06-03 Thread Anssi Kääriäinen
On 2 kesä, 23:20, Luke Sneeringer wrote: > On Jun 2, 2013, at 8:22 AM, Michal Petrucha wrote: > > > GenericForeignKey and nontrivial field types > > > > > As I've indicated in my proposal, just casting any value to a string > > and then performing a