Opened 10 years ago

Closed 10 years ago

#9296 closed (duplicate)

loaddata is looking in the wrong folder if using model folder instead of

Reported by: zhaoz Owned by: nobody
Component: Core (Management commands) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When using a folder for your models instead of a file. (e.g.: models/ instead of, loaddata fails to look in <app_label>/fixtures, instead running in <app_label>/models/fixtures

The loaddata documentation.

Problem seems to be at: [source:django/trunk/django/core/management/commands/]

Change History (2)

comment:1 Changed 10 years ago by zhaoz


comment:2 Changed 10 years ago by zhaoz

Resolution: duplicate
Status: newclosed

Seems like thsi bug has already been reported a *long* time ago


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