#19812 closed Cleanup/optimization (fixed)
Duplicate phrase in documentation of MultiWidget
Reported by: | Diego Andrés Sanabria Martín | Owned by: | itsallvoodoo |
---|---|---|---|
Component: | Documentation | Version: | 1.5-rc-1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The documentation in https://docs.djangoproject.com/en/1.5/ref/forms/widgets/#django.forms.MultiWidget.render repeats a couple of phrases:
If value is a list, output of render() will be a concatenation of rendered child widgets. If value is not a list, it will be first processed by the method decompress() to create the list and then processed as above.
In the second case – i.e., if the value is not a list – render() will first decompress the value into a list before rendering it. It does so by calling the decompress() method, which MultiWidget‘s subclasses must implement (see above).
Change History (11)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 12 years ago
Easy pickings: | set |
---|
comment:5 by , 12 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:7 by , 12 years ago
Triage Stage: | Ready for checkin → Accepted |
---|
I don't see any pull request link in this ticket. And you shouldn't set Ready for checkin
for your own patches.
comment:8 by , 12 years ago
I am sorry, going through the learning process here. This is my first ticket patch ever. Thanks for pointing that out.
Pull request link:
https://github.com/django/django/pull/727
comment:9 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Alos happens in documentation of django 1.4