Opened 15 years ago
Closed 15 years ago
#13479 closed (invalid)
Support of settings.ADMIN_FOR in django.contrib.sites
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Contrib apps | Version: | 1.1 |
Severity: | Keywords: | django.contrib.sites, sites framework, settings, ADMIN_FOR | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The ADMIN_FOR setting isn't really used anywhere in the current Django version. I think it might make sense to extend django.contrib.sites with some useful methods eg. returning the right settings module for a given site object!
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Replying to bernhard <bernhard@vallant.org>:
Hrm, the code in
django/contrib/admindocs/views.py
shows it is used for what the documentation describes it is intended, namely: Used for admin-site settings modules, this should be a tuple of settings modules (in the format 'foo.bar.baz') for which this site is an admin. The admin site uses this in its automatically-introspected documentation of models, views and template tags.