Opened 7 years ago

Closed 7 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: UI/UX:


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 7 years ago by zhaoz

  • Component changed from Uncategorized to
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by zhaoz

  • Resolution set to duplicate
  • Status changed from new to closed

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


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