Opened 15 years ago

Closed 15 years ago

#13479 closed (invalid)

Support of settings.ADMIN_FOR in django.contrib.sites

Reported by: bernhard <bernhard@…> 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)

in reply to:  description comment:1 by Ramiro Morales, 15 years ago

Replying to bernhard <bernhard@vallant.org>:

The ADMIN_FOR setting isn't really used anywhere in the current Django version.

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.

comment:2 by Russell Keith-Magee, 15 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top