Tutorial 2, 'clearing' field to signify deletion of object doesn't
|Reported by:||ssteiner||Owned by:||adrian|
|Severity:||normal||Keywords:||delete, tutorial 2|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
From Tutorial 2:
This tells Django: "When you edit a Choice on the Poll admin page, the 'choice' and 'votes' fields are required. The presence of at least one of them signifies the addition of a new Choice object, and clearing at least one of them signifies the deletion of that existing Choice object."
That's not what happens. If you empty the choice or votes field, you are instead given a red exclamation error stating that "This field is required."
Change History (4)
comment:2 Changed 10 years ago by adrian
- Owner changed from jacob to adrian
- Status changed from new to assigned
comment:3 Changed 10 years ago by adrian
- Resolution set to fixed
- Status changed from assigned to closed