#7633 closed (wontfix)
Feature request: Admin-configurable settings interface
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Contrib apps | Version: | dev |
Severity: | Keywords: | db, settings | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Regards,
Leaf
Change History (4)
comment:1 by , 16 years ago
Component: | Admin interface → Contrib apps |
---|---|
Keywords: | db settings added |
milestone: | → post-1.0 |
comment:2 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This should actually be closed; the idea's come up before and, I'm pretty sure, been rejected.
comment:3 by , 16 years ago
You're more than welcome to check out dbsettings, which sounds like it will do much of what this ticket is asking for, but it's not something that needs to be in Django itself. It (or something like it) might someday make it into the django.contrib
package, but there's no sense having a ticket out there for it until it's ready for prime time.
This is something that has often been discussed and can be seen in apps like db-settings, and Satchmo's configuration app. It may eventually become a contrib app, but for now it isn't on the roadmap due to the push for 1.0.