It is a common idiom to use `.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
.checked(False).get(<...>)
--
You recei
I think that seems like a good thing to be able to configure.
On Thursday, June 23, 2022 at 7:54:56 AM UTC-7 Fab wrote:
> Hey,
>
> With JsonResponse instead of the encoder defaulting to DjangoJSONEncoder I
> was thinking it would be nice to have a setting like DEFAULT_JSON_ENCODER
> so I can se