#33028: ModelAdmin.init has self.opts, but it still nowerewhere else in
django.admin.contrib.options not used
-------------------------------------+-------------------------------------
Reporter: Maxim Danilov | Owner: Maxim
Type: | Danilov
Cleanup/optimization | Status: assigned
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution:
Keywords: admin, modeladmin | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):
* stage: Unreviewed => Accepted
Comment:
Hi Maxim.
I'll provisionally accept this for review. Let's see what the cleanup
looks like.
This have been the same for a long time. (e.g. Many of the lines are
unchanged since a19ed8aea395e8e07164ff7d85bd7dff2f24edca.) We can't change
the API here, and it might be that it's not worth it looking at the diff,
but in principle yes, a bit more consistency of usage might make it easier
to follow.
Thanks
--
Ticket URL: <https://code.djangoproject.com/ticket/33028#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.5f77e1b17376b5e28a23d116ddfb8004%40djangoproject.com.