Tutorial 2, 'clearing' field to signify deletion of object doesn't
|Reported by:||Steve Steiner||Owned by:||Adrian Holovaty|
|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."