Re: Should SECRET_KEY be allowed to be bytes?

2022-08-03 Thread Cristiano Coelho
Years later, sorry. But this is still broken and SECRET_KEY management is a mess! Even though you can now use bytes, this line here will blow up if you attempt to use bytes as a secret key: https://github.com/django/django/blob/3.2.14/django/core/checks/security/base.py#L202 Basically, we are

Named Groups for Enumeration Types

2022-08-03 Thread Steven Johnson
Hello all, In my project I recently wanted to group choices, and have gotten used to the Enumeration Types Django provides. I noticed Django currently does not support named groups for these. So, I've implemented them in two ways: Option A) Ugly, but simple changes to Django class

Re: Fellow Reports - July 2022

2022-08-03 Thread Mariusz Felisiak
Week ending July 31, 2022 *Triaged: * https://code.djangoproject.com/ticket/33866 - Support Path instances in GDALRaster constructor (accepted) https://code.djangoproject.com/ticket/33867 - Automatic detection of timezone in django admin using javascript (duplicate)

Django 4.1 released

2022-08-03 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/aug/03/django-41-released/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and

Re: timesince and timeuntil - should we use python-dateutil?

2022-08-03 Thread 'st...@jigsawtech.co.uk' via Django developers (Contributions to Django itself)
I'd suggest the docs are updated with a warning relating to what's Uri's found as it could be extremely important to someone and not highlighting it would be misleading . On Tuesday, 2 August 2022 at 16:31:33 UTC+1 Uri wrote: > Hi, > > I created my own utility function: > > > > *from

Django security releases issued: 4.0.7 and 3.2.15.

2022-08-03 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/aug/03/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and