Re: Idea: Add .checked(/) to QuerySet as alternative to .filter() w/ .first()

2022-07-14 Thread James Bennett
On Thu, Jul 14, 2022 at 4:09 PM Dave Gaeddert wrote: > Yeah, I hope I'm not coming off as being too pushy, but I'm just curious > why that is. Mariusz or Adam, did what I said about it being *more* than > just an alias for `filter().first()` make sense or am I missing something? > (Different beha

Re: Idea: Add .checked(/) to QuerySet as alternative to .filter() w/ .first()

2022-07-14 Thread Dave Gaeddert
> I'm not the first to suggest adding an additional shortcut, e.g. django.shortcuts.get_object_or_none which would work similarly to get_object_or_404 Personally I'm not a fan of it being in "shortcuts". It makes sense to me that the 404 ones are there because they are only useful in a request

Fellow Reports - July 2022

2022-07-14 Thread Mariusz Felisiak
Week ending July 10, 2022 Released Django 4.0.6 and 3.2.14. *Triaged: * https://code.djangoproject.com/ticket/33820 - Querying "null" on key transforms for JSONField returns wrong results on SQLite. (accepted) https://code.djangoproject.com/ticket/33821 - Use _fk as suffix for augmented relate