Good point. I forgot that some people would do that.

On Fri, Mar 14, 2014 at 11:52 AM, Florian Apolloner
<[email protected]>wrote:

>
>
> On Friday, March 14, 2014 4:50:49 PM UTC+1, Michael Manfre wrote:
>
>> On Fri, Mar 14, 2014 at 11:15 AM, Cal Leeming [Simplicity Media Ltd] <
>> [email protected]> wrote:
>>>
>>>
>>>> .get(or=None) (of some description) would be my preference, but even
>>>> that is ugly and confuses the existing API with "special" keywords that
>>>> aren't actually a filter.
>>>>
>>>
>>> I would be strong -1 on having a special keyword.
>>>
>>
>> Even if the special keyword is 'default'? .get(..., default=None) is a
>> common python pattern that fits well with this usage.
>>
>
> Yes, especially 'default' -- which is a perfectly valid name for a table
> column.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/4aa7d1e3-4fb3-429e-a95a-6e52cc9b511a%40googlegroups.com<https://groups.google.com/d/msgid/django-developers/4aa7d1e3-4fb3-429e-a95a-6e52cc9b511a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAGdCwBvqpe%2B-xS7OYM20wfTiLVLe9Nmis-V_%3DxH9fwqg73DqeA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to