Django

Code

Ticket #383 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

Tutorial 2, 'clearing' field to signify deletion of object doesn't

Reported by: ssteiner Assigned to: adrian
Milestone: Component: Documentation
Version: 1.0 Keywords: delete, tutorial 2
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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."

Attachments

Change History

08/21/05 08:13:37 changed by ssteiner

Sorry, forgot to mention:

Build 541, OS X, Python 2.4.1, MySQL 4.4.12

08/21/05 13:24:48 changed by adrian

  • owner changed from jacob to adrian.
  • status changed from new to assigned.

08/21/05 13:25:36 changed by adrian

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [542]) Fixed #383 -- Clarified tutorial 2. Thanks, ssteiner

01/17/07 16:12:17 changed by

  • milestone deleted.

Milestone Version 1.0 deleted


Add/Change #383 (Tutorial 2, 'clearing' field to signify deletion of object doesn't)




Change Properties
Action