Opened 18 years ago
Closed 18 years ago
#3114 closed defect (fixed)
[patch] invalid handling of MultipleChoice field
Reported by: | Owned by: | Adrian Holovaty | |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | massimiliano.ravelli@… | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If I had a page with a MultipleChoiceField, it didn't get rendered properly.
The tests didn't show this because the test data were suppliad as normal dict's, where in real life you would have MultiValueDict which behave differently. I added the tests that show this behaviour as a separate patch.
(I also fixed a minor unicode-related bug in this patch - fields.py line 280)
Attachments (4)
Change History (7)
by , 18 years ago
Attachment: | multiple_choice_tests.patch added |
---|
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Cc: | added |
---|
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
tests that fail for the current SVN version