Re: [GSoC composite fields] Weekly check-in #1

2011-08-14 Thread Michal Petrucha
Short summary of last week: The first challenge was to make auxiliary field creation work with ForeignKey targets. The first attempt was to move parts of the model preparation mechanics to AppCache. This turned out to be a dead end because when AppCache is being populated, while importing models o

Re: Weekly check-in #1

2011-07-29 Thread Michal Petrucha
On Wed, Jul 27, 2011 at 05:05:00AM -0700, akaariai wrote: > It might be a little late to comment on this, but here is some > opinions from somebody knowing something (but not much) about the ORM. > My first feeling is that from the django/db/models/sql/query.py point > of view it doesn't matter tha

Re: Weekly check-in #1

2011-07-27 Thread akaariai
Just a quick note: It could be a good idea to have concrete_fields in addition to virtual_fields in the Meta class. Concrete fields would be the fields having a database column directly attached to it, the rest would be in virtual fields. The fields attribute would be these two joined together. Thi

Re: Weekly check-in #1

2011-07-27 Thread akaariai
On Jul 20, 4:18 pm, Michal Petrucha wrote: > The last week I've been looking into related fields and all that > stuff. As it turns out, the issue is much more complex than I > originally anticipated and at the moment I have some doubts whether > this can be achieved as part of this GSoC. > > Basic

Re: [GSoC composite fields] Weekly check-in #1

2011-07-20 Thread Michal Petrucha
The last week I've been looking into related fields and all that stuff. As it turns out, the issue is much more complex than I originally anticipated and at the moment I have some doubts whether this can be achieved as part of this GSoC. Basically, there are two approaches to the task: 1) Make Fo

Re: [GSoC composite fields] Weekly check-in #1

2011-06-06 Thread Michal Petrucha
All right, time for another check-in. This isn't a lengthy one -- unfortunately last Tuesday my laptop failed me, leaving me with no replacement, which means I have to wait for it to return from the service center to be fully up and running. In the meantime, I managed to borrow an old one a coupl

[GSoC composite fields] Weekly check-in #1 (well, first after the coding has begun)

2011-05-29 Thread Michal Petrucha
Checking in with some actual results. At the moment, my repo [1] contains a bit of documentation (look at the model field reference and the model topic guide) and a basic implementation with some trivial tests. Some remarks: * I ended up using namedtuple anyway, providing a fallback implementati

[GSoC composite fields] Weekly check-in #1

2011-04-29 Thread Michal Petrucha
Hello everyone, I hope the introductions aren't necessary since I've already introduced myself in the past [1]. Just a recap, I'll be working, under the guidance of Jacob Kaplan-Moss, on support for composite model fields which will allow users to define models with composite primary keys. The fu

[GSoC schema alteration] Weekly check-in #1

2011-04-29 Thread xtrqt
Hi once more, So there was 0 check-in to start the thread and now meritum. People who have read, commented and evaluated my proposal already know me, but for others I will introduce myself. My name is Jan Rzepecki, I'm going to work on django schema alteration API this year for GSoC 2011. I'm on

Weekly check-in #1

2011-04-29 Thread xtrqt
Hi once more, So there was 0 check-in to start the thread and now meritum. People who have read, commented and evaluated my proposal already know me, but for others I will introduce myself. My name is Jan Rzepecki, I'm going to work on django schema alteration API this year for GSoC 2011. I'm on