Django

Code

Ticket #5096 (closed: fixed)

Opened 3 years ago

Last modified 1 year ago

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

Reported by: oggie rob <oz.robharvey@gmail.com> Assigned to: jacob
Milestone: 1.1 Component: Documentation
Version: SVN Keywords: sprint-pycon08
Cc: ctrochalakis Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
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.

06/09/08 10:24:29 changed by jacob

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

06/09/08 10:24:42 changed by jacob

  • stage changed from Accepted to Ready for checkin.

Looks nice - I'll proofread and check in.

06/14/08 10:08:56 changed by telenieko

  • needs_docs deleted.

06/16/08 14:37:22 changed by jacob

  • milestone set to 1.0.

08/28/08 07:56:39 changed by russellm

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

It looks to me like these changes have been incorporated (or added independently) into the new docs. If there is something missing, please provide an updated diff against the new docs.

08/28/08 10:57:36 changed by jacob

  • status changed from closed to reopened.
  • resolution deleted.

Sorry, I'm actually still working on this one.

08/28/08 10:57:47 changed by jacob

  • status changed from reopened to new.
  • stage changed from Ready for checkin to Accepted.

08/28/08 10:57:51 changed by jacob

  • status changed from new to assigned.

09/02/08 14:53:44 changed by jacob

  • milestone changed from 1.0 to post-1.0.

I'm nearly done with this, but I'm not going to have it done for the official 1.0 release. Sorry!

02/25/09 13:51:44 changed by

  • milestone deleted.

Milestone post-1.0 deleted

02/28/09 00:18:25 changed by russellm

  • milestone set to 1.1.

04/10/09 19:56:14 changed by mtredinnick

Jacob, do you have a partial rewrite of this in a local branch, or should I just take this patch and munge it appropriately? I don't want to duplicate work if you're partially there.

04/18/09 23:07:26 changed by mtredinnick

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

The docs/howto/initial-data.txt file appears to contain a fairly clear discussion of the two options here. Closing this, since it looks fairly complete. If somebody wants to do something else, open a new ticket with a clear patch against trunk that we can evaluate, but I think the proposed changes have all been merged in now.


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




Change Properties
Action