Code

Opened 6 years ago

Closed 6 years ago

#8531 closed (fixed)

Typo in Fixtures documentation

Reported by: amiroff Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: amiroff@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

On http://docs.djangoproject.com/en/dev/howto/initial-data/#providing-initial-data-with-fixtures

- model: myapp.person
  pk: 1
  fields:
    first_name: Paul
    last_name: McCartney

should be:

- model: myapp.person
  pk: 2
  fields:
    first_name: Paul
    last_name: McCartney

Small, but important typo.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by amiroff

  • Cc amiroff@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [8657]) Fixed #8531: Corrected a typo in a sample YAML fixture. Thanks to amiroff for the report.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.