Re: Redirect type selection in django.contrib.redirects

2021-10-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
This seems like a reasonable addition to me. On Fri, 24 Sept 2021 at 08:08, Niccolò Mineo wrote: > Hi. The marketing guys at my workplace asked for the ability to customise > the redirect type (301, 302) when creating redirects in the admin and I > shipped this change a while ago. I believe thi

Re: DEFAULT_AUTO_FIELD

2021-10-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
As Mariusz wrote, it depends upon at least the M2M field migration being fixed first. ‪On Mon, 4 Oct 2021 at 10:36, ‫אורי‬‎ wrote:‬ > Thank you. > > >> In a future Django release the default value of DEFAULT_AUTO_FIELD >>>

Re: Django ORM query syntax enhancement

2021-10-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I would not be for merging anything into Django at this time. There are several libraries providing "enhanced" query syntax: django-orm-sugar, django-model-values, and django-natural-query. None of them seems to be particularly popular (<100 github stars, minimal PyPI downloads), and only django-m

Re: Django ORM query syntax enhancement

2021-10-06 Thread Asif Saif Uddin
Hey all, can we have some consensus on this? Asif On Saturday, April 1, 2017 at 12:55:27 PM UTC+6 Alexey Zankevich wrote: > Hey all, > > Please check a draft DEP related to external query language support by > Django ORM https://github.com/django/deps/pull/40. > > Regards, > Alexey > > > On W