Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7633 closed (wontfix)

Feature request: Admin-configurable settings interface

Reported by: Leaf <LeafStormRush@…> Owned by: nobody
Component: Contrib apps Version: master
Severity: Keywords: db, settings
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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 7 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

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.

comment:2 Changed 7 years ago by ubernostrum

  • Resolution set to wontfix
  • Status changed from new to closed

This should actually be closed; the idea's come up before and, I'm pretty sure, been rejected.

comment:3 Changed 7 years ago by Gulopine

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.

comment:4 Changed 7 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top