#36351: CompositePrimaryKey fails in InlineAdmins with a JSONDecodeError
-------------------------------+--------------------------------------
Reporter: Dominik Bruhn | Owner: (none)
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 5.2
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Csirmaz Bendegúz):
we could raise an exception if `inlines` is used, similar to how we raise
an exception here:
https://github.com/django/django/blob/0596263c3136bc26cffa670e5322bd0aa56c4d34/django/contrib/admin/sites.py#L117
otherwise, yes this needs to wait for #35953
--
Ticket URL: <https://code.djangoproject.com/ticket/36351#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019668492276-e75e161f-db3c-4c64-b232-1d777dbcd32e-000000%40eu-central-1.amazonses.com.