Should saving a model with foreign keys referencing unsaved models raise an error?

2013-04-24 Thread Yo-Yo Ma
The following example can throw a wrench in things, if you don't catch it right away, since it fails silently. >>> instance.some_fk_field = unsaved_instance >>> instance.save() The following example bit somebody I worked with a couple years back as well. >>> instance.some_m2m.add(unsaved_insta

[GSoC 2013] Composite fields: first draft of the proposal

2013-04-24 Thread Michal Petrucha
Hello, Last week I posted a draft of a timeline for my proposed project and only afterward I realized that the timeline by itself does not convey any meaningful information without explaining each item a little bit deeper. Here comes the full version which I managed to finally complete a while ago

Re: [GSoC 2013] Improved error reporting

2013-04-24 Thread Russell Keith-Magee
On Thu, Apr 25, 2013 at 3:00 AM, Andrew Godwin wrote: > Hi Damian, > > We don't generally accept GSOC projects that are just a bit grab bag of > problems - this is looking a little bit like that. I'd like to see a better > breakdown of what kind of time each ticket would take and what your > plan

Re: [GSoC 2013] Composite fields: first draft of the proposal

2013-04-24 Thread Andrew Godwin
Hi Michal, This looks like a good starting point for a proposal (not to mention that we don't doubt that you know about the problem area here!) - a few comments: - I'd like a bit more detail on some of your timeline points, in particular what the introspection parts and primary key updates are (

Re: [GSoC 2013] Improved error reporting

2013-04-24 Thread Andrew Godwin
Hi Damian, We don't generally accept GSOC projects that are just a bit grab bag of problems - this is looking a little bit like that. I'd like to see a better breakdown of what kind of time each ticket would take and what your planning schedule would be - in particular, I'd like to make sure you h