#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:"2a20bccda984e6d516bba3eb7e8f307185754a3b"]:
 {{{
 #!CommitTicketReference repository=""
 revision="2a20bccda984e6d516bba3eb7e8f307185754a3b"
 [1.7.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:11>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.35bf19f62f55c08babc2fc8df8a9d491%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to