django-dbsettings icon indicating copy to clipboard operation
django-dbsettings copied to clipboard

Better document usage

Open merwok opened this issue 8 years ago • 0 comments

Hello! I have some bits of config that can change by environment but are not secrets, and need to be editable without code changes and deployment. On a previous project, we had a custom model (with a small number of fields for our config buts) linked to sites.Site that did the job well. I thought dbsettings could be an easier and more powerful way (thanks to the included types) to do this, but it seems like I’m misunderstanding something in the docs.

After defining a class (with two settings without default values) and running migrations, I don’t see anything in the edit view. Is it mandatory to reference the settings from another model? Or is there some code I’m missing to make my settings appear in the admin?

merwok avatar Jan 24 '17 22:01 merwok