[Django] #25324: Register the existing ModelAdmin subclasses with the decorator

11 views
Skip to first unread message

Django

unread,
Aug 28, 2015, 5:05:56 PM8/28/15
to django-...@googlegroups.com
#25324: Register the existing ModelAdmin subclasses with the decorator
--------------------------------------+-----------------
Reporter: Y3K | Owner: Y3K
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+-----------------
Currently, none of the existing ModelAdmin subclasses is beign registered
via the new @admin.register decorator.

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

Django

unread,
Aug 28, 2015, 5:19:38 PM8/28/15
to django-...@googlegroups.com
#25324: Register the existing ModelAdmin subclasses with the decorator
-------------------------------------+-------------------------------------
Reporter: Y3K | Owner: Y3K
Type: | Status: new
Cleanup/optimization |
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* needs_better_patch: => 0
* has_patch: 0 => 1
* version: 1.8 => master
* needs_tests: => 0
* needs_docs: => 0


Comment:

Github pull request https://github.com/django/django/pull/5205

* Changhed the `admin.site.register` for `@admin.register`

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

Django

unread,
Aug 29, 2015, 6:30:58 AM8/29/15
to django-...@googlegroups.com
#25324: Register the existing ModelAdmin subclasses with the decorator
-------------------------------------+-------------------------------------
Reporter: Y3K | Owner: Y3K

Type: | Status: new
Cleanup/optimization |
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* stage: Unreviewed => Ready for checkin


Comment:

Looks good.

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

Django

unread,
Aug 31, 2015, 1:43:25 AM8/31/15
to django-...@googlegroups.com
#25324: Register the existing ModelAdmin subclasses with the decorator
-------------------------------------+-------------------------------------
Reporter: Y3K | Owner: Y3K
Type: | Status: closed

Cleanup/optimization |
Component: contrib.admin | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Markus Holtermann <info@…>):

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


Comment:

In [changeset:"235caabacc37278487d1107f6bbda90cc208cd64" 235caaba]:
{{{
#!CommitTicketReference repository=""
revision="235caabacc37278487d1107f6bbda90cc208cd64"
Fixed #25324 -- Registered ModelAdmin instances with @admin.register
decorator
}}}

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

Reply all
Reply to author
Forward
0 new messages