It is a common idiom to use `<queryset>.filter(<...>).first()` as a 
replacement for `.get(<...>)` when `None` is wanted instead of an exception 
when no match is found. That works, but wouldn't the intention be more 
clear if that could be written as something like

<queryset>.checked(False).get(<...>)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/d5802d27-0f60-4d52-93e9-953b571c9d41n%40googlegroups.com.

Reply via email to