In cases that we don't want to handle exception and we don't want to use
`try...except`, we use something like this:
{{{
qs.filter(...).first()
}}}
Which would return `None` and then there is no need to handle excpetion.
Can't we have it in `get` method itself ? I mean something like
`get(raise_exception=False)` to return `None` instead of raising
exception.
--
Ticket URL: <https://code.djangoproject.com/ticket/34611>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
Comment:
Thanks for the report, however it was discussed and rejected multiple
times, e.g. #2659 or #11352.
--
Ticket URL: <https://code.djangoproject.com/ticket/34611#comment:1>