Opened 16 years ago
Closed 16 years ago
#9296 closed (duplicate)
loaddata is looking in the wrong folder if using model folder instead of models.py
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 |
Description
When using a folder for your models instead of a file. (e.g.: models/init.py instead of models.py), loaddata fails to look in <app_label>/fixtures, instead running in <app_label>/models/fixtures
Problem seems to be at: [source:django/trunk/django/core/management/commands/loaddata.py@9110#L55]
Change History (2)
comment:1 by , 16 years ago
Component: | Uncategorized → django-admin.py |
---|
comment:2 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Seems like thsi bug has already been reported a *long* time ago
ticket:6961