Opened 5 years ago

Closed 5 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: UI/UX:

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 in reply to: ↑ description Changed 5 years ago by ramiro

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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 Changed 5 years ago by russellm

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
Back to Top