Opened 16 years ago

Closed 16 years ago

#8531 closed (fixed)

Typo in Fixtures documentation

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

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.

Change History (2)

comment:1 by amiroff, 16 years ago

Cc: amiroff@… added

comment:2 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top