Changing Django settings at runtime

前端 未结 7 1275
-上瘾入骨i
-上瘾入骨i 2020-11-30 05:09

I\'d like to expose some (app-specific) settings to the admin interface, so users can change them comfortably and also not have to restart Django.

How should I go ab

7条回答
  •  暖寄归人
    2020-11-30 05:59

    Take a look: https://bitbucket.org/bkroeze/django-livesettings *Django-Livesettings is a project split from the Satchmo Project_. It provides the ability to configure settings via an admin interface, rather than by editing "settings.py".*

    Maybe it can be helpful for you.

提交回复
热议问题