views:

106

answers:

1

In a reusable application (in which i don't want to change any code) i would like to change a SETTING var that the application uses (in its forms and maybe other parts) to be dynamic (update its contents from a db table).

What would be the best approach to do that (a middleware maybe?) ?

+1  A: 

Look into the django-dbsettings project.

Daniel Roseman
although it is a nice app, that wouldn't actually solve the part of not changing code of the reusable application, i want to keep compatibility with django.config.settings
vinilios