Opened 5 years ago
Closed 5 years ago
#31086 closed Cleanup/optimization (fixed)
Improve error message for admin.E202.
Reported by: | Collin Anderson | Owned by: | shubham singh |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | cmawebsite@…, shubham singh | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | yes | UI/UX: | no |
Description
If an inline has mutliple foreign keys to the same parent model, you get an error message like so:
(admin.E202) 'account.PaymentApplication' has more than one ForeignKey to 'account.Invoice'.
This error message should recommend specifying fk_name.
Change History (6)
comment:1 by , 5 years ago
Component: | Core (System checks) → contrib.admin |
---|---|
Summary: | Friendlier error message for admin.E202. → Improve error message for admin.E202. |
Triage Stage: | Unreviewed → Accepted |
Version: | 3.0 → master |
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 5 years ago
Cc: | added |
---|---|
Has patch: | set |
Resolution: | → fixed |
Status: | assigned → closed |
comment:4 by , 5 years ago
Resolution: | fixed |
---|---|
Status: | closed → new |
PR is not merged so ticket is not fixed.
comment:5 by , 5 years ago
Patch needs improvement: | set |
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
PR