Re: About users

2019-09-30 Thread Adam Johnson
Hi Burak The reason the custom user model feature exists is because there are so many "really simple" changes possible. Adding them all as options to Django itself would add many such switches and a large maintenance burden. For the exact change you're suggesting, there's a third party package ou

Re: Fellow Reports -- September 2019

2019-09-30 Thread Carlton Gibson
Hi all, Calendar Week 38 -- ending 22 September. Triaged: https://github.com/django/djangoproject.com/issues/949 -- Logging error (Invalid) https://code.djangoproject.com/ticket/14218 -- Paginator just implement the __iter__ function (Accepted) https://code.djangoproject.com/ticket/30781 -

Desired behaviour when passing a non boolean to filter(*__isnull)

2019-09-30 Thread André Ericson
Hello, I came across the discovery (due to a bug on our code) that it's possible to pass a non-boolean to the __isnull filter. What would be the desired behavior here? Should we raise an exception or should Django use the truthy value? If the second case is the desired behavior I have found a b

Re: Desired behaviour when passing a non boolean to filter(*__isnull)

2019-09-30 Thread Adam Johnson
Hi André I think Django should use the truthy value. Please open a ticket with your bug report and then a PR. Thanks, Adam On Mon, 30 Sep 2019 at 15:37, André Ericson wrote: > Hello, > > I came across the discovery (due to a bug on our code) that it's possible > to pass a non-boolean to the _

Re: Desired behaviour when passing a non boolean to filter(*__isnull)

2019-09-30 Thread André Ericson
Super. I'll look into it! On Monday, September 30, 2019 at 5:32:44 PM UTC+2, Adam Johnson wrote: > > Hi André > > I think Django should use the truthy value. Please open a ticket with your > bug report and then a PR. > > Thanks, > > Adam > > On Mon, 30 Sep 2019 at 15:37, André Ericson > wrote: >

Re: Fellow Reports - September 2019

2019-09-30 Thread Mariusz Felisiak
Week ending September 29, 2019. *Triaged:* https://code.djangoproject.com/ticket/30793 - Add a SECURITY.md file. (invalid) https://code.djangoproject.com/ticket/30794 - inspectdb should generate related_name for ForeignKey. (duplicate) https://code.djangoproject.com/ticket/30785 - Documentation