Feature request: Admin-configurable settings interface
|Reported by:||Leaf <LeafStormRush@…>||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have a suggestion for Django's included admin framework. Essentially, it's the ability to create app settings pages that could be editable from the admin. The essential idea behind it is that there's one record per site. It can be used to configure global app settings - for example, if you're sharing your code with someone else, writing an app specifically for distribution to other users, or just want to make it easier to change things without editing your templates directly.
It would be pretty simple - you just create a Model like you would normally, but in the Admin section of the Model definition, you would do something along the lines of setting a "Mode" parameter to "Settings". It would then show up under your app heading in the admin, but when you click on it, it will immediately call up the editor. After changing the settings, you'd then be able to retrieve the data somehow - maybe by using the existing Model systems, or maybe by using some sort of "Settings.<model-name>.<field-name>" setup.
I would greatly appreciate it if this setting was implemented.
Change History (4)
comment:1 Changed 6 years ago by Alex
- Component changed from Admin interface to Contrib apps
- Keywords db, settings added
- milestone set to post-1.0
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 6 years ago by ubernostrum
- Resolution set to wontfix
- Status changed from new to closed