[Django] #27076: Document django.contrib.admin.sites.AdminSite.register()

7 views
Skip to first unread message

Django

unread,
Aug 17, 2016, 6:28:05 AM8/17/16
to django-...@googlegroups.com
#27076: Document django.contrib.admin.sites.AdminSite.register()
------------------------------------------------+------------------------
Reporter: bmispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
------------------------------------------------+------------------------
There's a list of `AdminSite` methods at
https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#adminsite-
methods but for some reason, it doesn't contain `register()` which is used
in many of the examples on that page.

This being the reference page, I think the method should be documented.

--
Ticket URL: <https://code.djangoproject.com/ticket/27076>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 17, 2016, 8:07:26 AM8/17/16
to django-...@googlegroups.com
#27076: Document django.contrib.admin.sites.AdminSite.register()
--------------------------------------+------------------------------------

Reporter: bmispelon | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

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

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/27076#comment:1>

Django

unread,
Aug 17, 2016, 8:34:47 AM8/17/16
to django-...@googlegroups.com
#27076: Document django.contrib.admin.sites.AdminSite.register()
--------------------------------------+------------------------------------
Reporter: bmispelon | Owner: varun
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.10

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by varun):

* owner: nobody => varun
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/27076#comment:2>

Django

unread,
Sep 15, 2016, 10:07:17 PM9/15/16
to django-...@googlegroups.com
#27076: Document django.contrib.admin.sites.AdminSite.register()
-------------------------------------+-------------------------------------
Reporter: bmispelon | Owner: austin-
Type: | simmons
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.10

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by austin-simmons):

* owner: nobody => austin-simmons


* status: new => assigned

Django

unread,
Sep 20, 2016, 8:48:06 PM9/20/16
to django-...@googlegroups.com
#27076: Document django.contrib.admin.sites.AdminSite.register()
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Austin
Type: | Simmons
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.10

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

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

* needs_better_patch: 0 => 1
* has_patch: 0 => 1


Comment:

[https://code.djangoproject.com/ticket/27076 PR] with comments for
improvement.

--
Ticket URL: <https://code.djangoproject.com/ticket/27076#comment:3>

Django

unread,
Sep 27, 2016, 12:18:55 PM9/27/16
to django-...@googlegroups.com
#27076: Document django.contrib.admin.sites.AdminSite.register()
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Austin
Type: | Simmons
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.10
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"0f6829a68afb91abfdea8489008ebffac3d5220c" 0f6829a]:
{{{
#!CommitTicketReference repository=""
revision="0f6829a68afb91abfdea8489008ebffac3d5220c"
Fixed #27076 -- Documented contrib.admin.sites.AdminSite.register().
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27076#comment:4>

Django

unread,
Sep 27, 2016, 12:19:04 PM9/27/16
to django-...@googlegroups.com
#27076: Document django.contrib.admin.sites.AdminSite.register()
-------------------------------------+-------------------------------------
Reporter: Baptiste Mispelon | Owner: Austin
Type: | Simmons
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.10

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"933ebfad06b736e872b4c9afca6697cda8c3e216" 933ebfad]:
{{{
#!CommitTicketReference repository=""
revision="933ebfad06b736e872b4c9afca6697cda8c3e216"
[1.10.x] Fixed #27076 -- Documented
contrib.admin.sites.AdminSite.register().

Backport of 0f6829a68afb91abfdea8489008ebffac3d5220c from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27076#comment:5>

Reply all
Reply to author
Forward
0 new messages