#1413 closed defect (fixed)
[magic-removal] [patch] ImportError raised for Models not in INSTALLED_APPS has invalid module path
Reported by: | Antti Kaihola | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | magic-removal |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The code checks for the model's module by removing '.models' from the end of the string, but the error message still uses full model path.
Attachments (1)
Change History (5)
by , 19 years ago
Attachment: | model-import-error.diff added |
---|
comment:1 by , 19 years ago
Version: | → magic-removal |
---|
And, to be exact, this concerns the magic-removal branch.
comment:2 by , 19 years ago
Summary: | ImportError raised for Models not in INSTALLED_APPS has invalid module path → [patch] ImportError raised for Models not in INSTALLED_APPS has invalid module path |
---|
comment:3 by , 19 years ago
Summary: | [patch] ImportError raised for Models not in INSTALLED_APPS has invalid module path → [magic-removal] [patch] ImportError raised for Models not in INSTALLED_APPS has invalid module path |
---|
comment:4 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
strip '.models' from module path in the error message