Re: [GSOC] ORM clean up/decoupling

2014-03-17 Thread Russell Keith-Magee
On Tue, Mar 18, 2014 at 1:56 AM, Clement Robbins wrote: > Hello, there! I am a rising junior double majoring in Computer Science and > Economics at columbia university. I am an avid django user and would love > to work on django through google summer of code. > > The topic that piqued my interest

Re: Add support for get_or_none?

2014-03-17 Thread Adam Mesha
And the documentation suggests that if you do have a field named defaults and you want to use it with get_or_create, you should use defaults__exact. I don't see why a similar solution wouldn't work for other queryset methods. 2014-03-17 11:20 GMT+02:00 Gwildor Sok : > Actually, at the moment you

[GSOC] ORM clean up/decoupling

2014-03-17 Thread Clement Robbins
Hello, there! I am a rising junior double majoring in Computer Science and Economics at columbia university. I am an avid django user and would love to work on django through google summer of code. The topic that piqued my interest from the ideas pages was ‘Reducing coupling in Django compo

Re: Add support for get_or_none?

2014-03-17 Thread Gwildor Sok
Actually, at the moment you can't have a column named "defaults" either if you want to use your model with the current get_or_create function, so naming a keyword argument like that is not that uncommon. On Sunday, March 16, 2014 6:39:47 PM UTC+1, Cal Leeming [Simplicity Media Ltd] wrote: > > S