#17493: Widget.id_for_label() should be an instance method
------------------------------------------------+------------------------
Reporter: julien | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Forms | Version: 1.3
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
I don't see any reason why `Widget.id_for_label()` should be a class
method. What's more, it's actually already used as an instance method in
some places. I suggest simply removing the `classmethod` decorators (see
patch attached).
--
Ticket URL: <https://code.djangoproject.com/ticket/17493>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.