[Django] #34598: Load new settings after start up

3 views
Skip to first unread message

Django

unread,
May 25, 2023, 8:14:20 PM5/25/23
to django-...@googlegroups.com
#34598: Load new settings after start up
-----------------------------------------+------------------------
Reporter: boomdizz | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
We have a usecase where our web application is
(a) running on Django using local users (which is standard),
(b) is then modified by our UI to take in an LDAP configuration to support
directory services remote users
LDAP setup is managed by the django-auth-ldap module, but it's
configuration ends up in settings.py. How can we get Django to
automatically pick up these changes without restarting?
Or, is there another way to support such a usecase. In more general terms,
how can Django be told to reload it's configuration?

--
Ticket URL: <https://code.djangoproject.com/ticket/34598>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 26, 2023, 12:05:09 AM5/26/23
to django-...@googlegroups.com
#34598: Load new settings after start up
-------------------------------+--------------------------------------
Reporter: boomdizz | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 4.2
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

Please don't use Trac as a support channel. Closing per
TicketClosingReasons/UseSupportChannels.

--
Ticket URL: <https://code.djangoproject.com/ticket/34598#comment:1>

Reply all
Reply to author
Forward
0 new messages