Opened 6 years ago
Closed 6 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 , 6 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 , 6 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 6 years ago
| Cc: | added |
|---|---|
| Has patch: | set |
| Resolution: | → fixed |
| Status: | assigned → closed |
comment:4 by , 6 years ago
| Resolution: | fixed |
|---|---|
| Status: | closed → new |
PR is not merged so ticket is not fixed.
comment:5 by , 6 years ago
| Patch needs improvement: | set |
|---|---|
| Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
PR