Django

Code

Ticket #5096 (assigned)

Opened 9 months ago

Last modified 2 months ago

Doc: Model ref mentions sql-based initial data, should use fixtures

Reported by: oggie rob <oz.robharvey@gmail.com> Assigned to: shanx (accepted)
Component: Documentation Version: SVN
Keywords: sprint-pycon08 Cc: ctrochalakis
Triage Stage: Accepted Has patch: 1
Needs documentation: 1 Needs tests: 0
Patch needs improvement: 0

Description

In 0.96 release notes, there is a mention that fixtures should be used for initial data and custom sql for view, procedures, etc. However the model reference docs show an example using custom sql files and don't mention fixtures at all. For consistency the models ref should describe fixtures and distinguish between the use of fixtures & custom sql files.

Attachments

fixtures-documentation.diff (20.7 kB) - added by shanx on 03/18/08 17:13:11.
First concept of fixtures documentation

Change History

09/20/07 01:03:29 changed by anonymous

  • owner changed from nobody to anonymous.
  • needs_better_patch changed.
  • status changed from new to assigned.
  • needs_tests changed.
  • needs_docs changed.

Agree.

12/01/07 20:22:51 changed by Simon G <dev@simon.net.nz>

  • needs_docs set to 1.
  • stage changed from Unreviewed to Accepted.

Please don't do anonymous triage.

03/17/08 16:43:14 changed by shanx

  • keywords set to sprint-pycon08.
  • owner changed from anonymous to shanx.
  • status changed from assigned to new.

03/17/08 16:43:36 changed by shanx

  • status changed from new to assigned.

03/17/08 17:02:12 changed by shanx

Information about fixtures is dispersed between different parts of the documentation, I'm actually thinking of giving the concept of fixtures its own entry in the references list. Going to talk this over with Adrian.

03/17/08 17:06:16 changed by shanx

Adrian agrees with this, working on it now.

03/18/08 17:12:43 changed by shanx

  • has_patch set to 1.

Ok first concept of the fixtures documentation is ready, adding patch.

03/18/08 17:13:11 changed by shanx

  • attachment fixtures-documentation.diff added.

First concept of fixtures documentation

03/19/08 12:46:43 changed by ctrochalakis

  • cc set to ctrochalakis.

Add/Change #5096 (Doc: Model ref mentions sql-based initial data, should use fixtures)




Change Properties
Action