[Answered ]-How to get data from config file (config.json) in real time in settings.py file in django

1👍

settings.py in Django is loaded once at execution time, we should not change the values during runtime. Although that is suggested by the docs there are ways you can change the settings values during runtime. You can use django-constance library, and then make a form to update the setting’s value during runtime by editing the database value.

👤Akash

Leave a comment