Re: `call_command` raises ValueError during testing

2022-10-03 Thread Ferran Jovell
Hi Tim, As far as I understand, when adding an argument with `argparser` without dashes, argparse interprets it as a positional argument and not an option, which is how it works when you call it from the terminal. However, calling `call_command` with args instead of keyword arguments seems to skip

Why using django.contrib.sessions as the salt to encode session data? why not secret key?

2022-10-03 Thread Lokesh Sanapalli
Hi, I was going through the code and got a question. I saw that we are using hard-coded string `django.contrib.sessions` as the key salt to encode session data . Why not using the secret key? as the secre

Re: Optional URL parameters in django.urls.path

2022-10-03 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I'd also be -1. There are two good alternatives already, which are both more flexible. No need to add a third way. On Sun, Oct 2, 2022 at 8:35 AM Carlton Gibson wrote: > Hi. > > Re-reading again, I'm still not sure (personally) of the need/motivation > given either of the "use two entries" or "u

Re: Fellow Reports - September 2022

2022-10-03 Thread Mariusz Felisiak
Week ending September 25, 2022 I was in Porto and participated in the Django Con Europe conference. *Triaged: * https://code.djangoproject.com/ticket/34021 - collect_translations (invalid) https://code.djangoproject.com/ticket/34022 - admin:logout fails to log out non-staff users (wont