Django Livesettings is an excellent option: http://django-livesettings.readthedocs.org/en/latest/about.html
django: changing settings while running
-
27-06-2023 - |
Question
Is there a problem to change one of the settings when django is running?
For example, I'd like to change REGISTRATION_OPEN
from the django-registration
app from False to True when it is live.
I do not want to stop the server to change this value.
Is there a cache that would prevent the new value to be used?
Should I rather consider a table to store settings that can be changed when it is live?
Thanks
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow