#23754: DisallowedModelAdminToField when using get_inline_instances()
---------------------------------+-------------------------------------
Reporter: timgraham | Owner: charettes
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.4
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"5940da16afb314c52cf52d4aebfedb77c6cc886b"]:
{{{
#!CommitTicketReference repository=""
revision="5940da16afb314c52cf52d4aebfedb77c6cc886b"
[1.4.x] Fixed #23754 -- Always allowed reference to the primary key in the
admin
This change allows dynamically created inlines "Add related" button to
work
correcly as long as their associated foreign key is pointing to the
primary
key of the related model.
Thanks to amorce for the report, Julien Phalip for the initial patch,
and Collin Anderson for the review.
Backport of f9c4e14aeca7df79991bca8ac2d743953cbd095c from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23754#comment:14>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.f3fa960b01e1b4041a93254dfe074118%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.