Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#17166 closed Cleanup/optimization (fixed)

The fixture documentation tells nowhere that you can (should?) use FIXTURE_DIRS in your settings.py

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: krzysiumed@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

On this page https://docs.djangoproject.com/en/1.3/howto/initial-data/, that I believe, is the first documentation you should read about fixtures, there isn't any mention of the FIXTURE_DIRS tuple that can (should? I didn't managed to make fixtures works without it) be set in the settings.py.

Attachments (2)

17166.diff (1.8 KB ) - added by Dan Poirier 12 years ago.
17166_v2.diff (2.0 KB ) - added by Christopher Medrela 12 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 by Julien Phalip, 12 years ago

Triage Stage: UnreviewedAccepted
Type: BugCleanup/optimization

FIXTURE_DIRS is for fixtures that live outside of apps. It should indeed be documented on that page.

comment:2 by Dan Poirier, 12 years ago

Owner: changed from nobody to Dan Poirier
Status: newassigned

by Dan Poirier, 12 years ago

Attachment: 17166.diff added

comment:3 by Dan Poirier, 12 years ago

Has patch: set

comment:4 by Dan Poirier, 12 years ago

Owner: changed from Dan Poirier to nobody
Status: assignednew

by Christopher Medrela, 12 years ago

Attachment: 17166_v2.diff added

comment:5 by Christopher Medrela, 12 years ago

Cc: krzysiumed@… added

I've sent another version, in my opinion slightly better.

comment:6 by Jannis Leidel, 12 years ago

Triage Stage: AcceptedReady for checkin

comment:7 by Aymeric Augustin, 12 years ago

Resolution: fixed
Status: newclosed

In [17558]:

Fixed #17166 -- Documented how FIXTURE_DIRS works in the inital data how-to, and edited related bits in the settings reference.

Performed minor edits for consistency while I was there.

comment:8 by Aymeric Augustin, 12 years ago

In [17559]:

(The changeset message doesn't reference this ticket)

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