Django bugfix release: 4.1.3

2022-10-31 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2022/nov/01/bugfix-release/ -- 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 stop

Re: #21978 include production-ready web server

2022-10-31 Thread Peter Baumgartner
On Mon, Oct 31, 2022 at 11:52 AM Florian Apolloner wrote: > On Monday, October 31, 2022 at 5:27:02 PM UTC+1 pe...@lincolnloop.com > wrote: > >> In my ideal scenario, the default is a hard-coded settings file for the >> project (deprecating DJANGO_SETTINGS_MODULE env var) and we have >> CONFIG_LOA

Re: #21978 include production-ready web server

2022-10-31 Thread Florian Apolloner
On Monday, October 31, 2022 at 5:27:02 PM UTC+1 pe...@lincolnloop.com wrote: > In my ideal scenario, the default is a hard-coded settings file for the > project (deprecating DJANGO_SETTINGS_MODULE env var) and we have > CONFIG_LOADERS defined in the settings that could do env, toml, etc. > Perh

Re: #21978 include production-ready web server

2022-10-31 Thread Peter Baumgartner
On Sun, Oct 30, 2022 at 7:57 AM Florian Apolloner wrote: > Hi Peter, > > On Saturday, October 29, 2022 at 6:07:16 PM UTC+2 pe...@lincolnloop.com > wrote: > >> Since you asked for feedback, I'll tell you what I'd do differently (and >>> this is also a sign that production environment vary widely).

Re: #21978 include production-ready web server

2022-10-31 Thread Peter Baumgartner
Hey Tobias! Not using DJANGO_SETTINGS_MODULE is due to my personal dislike of it :) I don't like the idea of a totally different Python file getting imported based on an environment variable and I feel like having different Python files for each environment isn't a great pattern. I think it is easi

Re: How reload django settings on run RestService

2022-10-31 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t

How reload django settings on run RestService

2022-10-31 Thread Lakhvinder Singh
i try it https://github.com/sunscrapers/djoser/blob/master/djoser/conf.py user->settings.py use for settings load on global from copy import deepcopy from django.core.exceptions import ImproperlyConfigured from django.conf import settings default_settings = { 'SEND_ACTIVATION_EMAIL': False

Re: Fellow Reports - October 2022

2022-10-31 Thread Mariusz Felisiak
Week ending October 30, 2022 *Triaged: * https://code.djangoproject.com/ticket/34112 - Add async interface to Model (accepted) https://code.djangoproject.com/ticket/34113 - max() arg is an empty sequence (duplicate) https://code.djangoproject.com/ticket/34114 - loaddata doesn't honor