Opened 10 years ago
Closed 10 years ago
#25054 closed Cleanup/optimization (fixed)
Use app-namespaced model name when raising swapped model AttributeError
| Reported by: | Chris Lamb | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
This is useful if you have swapped a model for one with the same name but
in another app - "User has been swapped with User", etc.
Change History (2)
comment:1 by , 10 years ago
| Component: | Uncategorized → Database layer (models, ORM) |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
| Type: | New feature → Cleanup/optimization |
| Version: | 1.8 → master |
comment:2 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 61f3e22: