#9932 closed (fixed)
exclude in InlineModelAdmin should not contain a ForeignKey field used in ModelAdmin.model
| Reported by: | David Larlet | Owned by: | David Larlet |
|---|---|---|---|
| Component: | contrib.admin | Version: | 1.0 |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Add a validation error when it happens, otherwise the error (KeyError) is hard to understand.
Attachments (1)
Change History (5)
by , 17 years ago
| Attachment: | patch_django_9932.20081230.diff added |
|---|
comment:1 by , 17 years ago
| milestone: | → 1.1 |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
Patch with tests against r9690