#15214: CharField's widget_attrs should return an empty dict rather than None
------------------------------------+---------------------------------------
Reporter: gg | Owner: gg
Status: new | Milestone:
Component: Forms | Version: SVN
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
------------------------------------+---------------------------------------
Changes (by russellm):
* needs_docs: => 0
* needs_better_patch: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted
Comment:
In practice, this doesn't really matter -- the existing uses of
widget_attrs (essentially just in the constructor for a field) check for a
null response. However, that check could be removed entirely if CharField
did the right thing.
--
Ticket URL: <http://code.djangoproject.com/ticket/15214#comment:1>
Django <http://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.