Re: [Django] #8500: Allow overriding of default adminsite.

21 views
Skip to first unread message

Django

unread,
May 5, 2011, 2:37:01 PM5/5/11
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
-------------------------------------+-------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New | Status: new
feature | Component: contrib.admin
Milestone: | Severity: Normal
Version: SVN | Keywords: override adminsite
Resolution: | Has patch: 1
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 | Easy pickings: 0
Patch needs improvement: 1 |
-------------------------------------+-------------------------------------
Changes (by patchhammer):

* needs_better_patch: 0 => 1
* easy: => 0


Comment:

8500.1.diff fails to apply cleanly on to trunk

--
Ticket URL: <http://code.djangoproject.com/ticket/8500#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 11, 2011, 6:14:38 PM12/11/11
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
------------------------------------+------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New feature | Status: new
Component: contrib.admin | Version: SVN
Severity: Normal | Resolution:
Keywords: override adminsite | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------
Changes (by tinodb):

* cc: tinodb (added)
* ui_ux: => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:12>

Django

unread,
Apr 6, 2012, 1:32:15 AM4/6/12
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
------------------------------------+------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New feature | Status: new
Component: contrib.admin | Version: SVN
Severity: Normal | Resolution:
Keywords: override adminsite | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------
Changes (by kmike):

* cc: kmike84@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:13>

Django

unread,
Dec 29, 2016, 3:39:57 PM12/29/16
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
------------------------------------+------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New feature | Status: new
Component: contrib.admin | Version: master

Severity: Normal | Resolution:
Keywords: override adminsite | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------

Comment (by Raffaele Salmaso):

Added a PR => https://github.com/django/django/pull/7765

--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:14>

Django

unread,
Dec 31, 2016, 5:06:29 AM12/31/16
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
------------------------------------+------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: override adminsite | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------

Comment (by Raffaele Salmaso):

Hi, I usually override the default admin site with my custom version, then
found this ticket, so I choose to complete it.

The first PR was using a new setting (`ADMIN_SITE_CLASS`), but I rewrote
it to use a custom (`Simple`)`AdminConfig` and no new setting.

This version doesn't require to adapt current code with a
{{{
def register(site):
...
}}}
as the last patch require, or rewriting code not to use
`django.contrib.admin.sites.site` directly.

--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:15>

Django

unread,
Dec 31, 2016, 12:14:20 PM12/31/16
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
------------------------------------+------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: override adminsite | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:16>

Django

unread,
Jan 3, 2017, 5:00:35 AM1/3/17
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
------------------------------------+------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: override adminsite | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------------+------------------------------------
Changes (by Raffaele Salmaso):

* cc: raffaele.salmaso+djangoproject@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:17>

Django

unread,
Jan 23, 2018, 3:06:56 AM1/23/18
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
-------------------------------------+-------------------------------------

Reporter: oyvind | Owner: oyvind
Type: New feature | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: override adminsite | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:18>

Django

unread,
Feb 3, 2018, 7:11:41 PM2/3/18
to django-...@googlegroups.com
#8500: Allow overriding of default adminsite.
-------------------------------------+-------------------------------------
Reporter: oyvind | Owner: oyvind
Type: New feature | Status: closed
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: override adminsite | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"da3df5b878d96ef37dcff1377ccbd097b80776d7" da3df5b8]:
{{{
#!CommitTicketReference repository=""
revision="da3df5b878d96ef37dcff1377ccbd097b80776d7"
Fixed #8500 -- Allowed overriding the default admin site instance.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/8500#comment:19>

Reply all
Reply to author
Forward
0 new messages