#10246 closed (duplicate)
Bug with Inlines for non-standard primary keys
Reported by: | cklein | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
If the underlying model for an inline defines an alternative primary key
[for example: name = CharField(max_length=32, primary_key=True)]
the Inline is not displayed correctly - the pk field will be rendered twice, including further strange behaviour.
Note:
See TracTickets
for help on using tickets.
Sounds like a duplicate of #9650