#15912: CharField.widget_attrs should respect its super
-------------------------------------+-------------------------------------
Reporter: rubyruy | Owner: mmcnickle
Type: | Status: assigned
Cleanup/optimization | Component: Forms
Milestone: | Severity: Normal
Version: 1.3 | Keywords:
Resolution: | Has patch: 1
Triage Stage: Accepted | Needs tests: 0
Needs documentation: 0 | Easy pickings: 1
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Changes (by mmcnickle):
* owner: nobody => mmcnickle
* needs_better_patch: 1 => 0
* status: new => assigned
* needs_tests: 1 => 0
Comment:
The attached patch makes sure widget_attrs() always returns a dictionary,
even if it's empty.
I didn't think that the super call was necessary as Field only returns an
empty dictionary by default. If this ever changes, then we can add the
super call then.
--
Ticket URL: <https://code.djangoproject.com/ticket/15912#comment:3>
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.