#383 closed defect (fixed)
Tutorial 2, 'clearing' field to signify deletion of object doesn't
Reported by: | Steve Steiner | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | normal | Keywords: | delete, tutorial 2 |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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:1 by , 19 years ago
comment:2 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Sorry, forgot to mention:
Build 541, OS X, Python 2.4.1, MySQL 4.4.12