mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
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.
This commit is contained in:
parent
e0d1f2684a
commit
f9c4e14aec
9 changed files with 67 additions and 27 deletions
|
@ -4,7 +4,13 @@ Django 1.6.9 release notes
|
|||
|
||||
*Under development*
|
||||
|
||||
Django 1.6.9 ...
|
||||
Django 1.6.9 fixes a regression in the 1.6.6 security release.
|
||||
|
||||
Additionally, Django's vendored version of six, :mod:`django.utils.six`, has
|
||||
been upgraded to the latest release (1.8.0).
|
||||
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
* Fixed a regression with dynamically generated inlines and allowed field
|
||||
references in the admin (:ticket:`23754`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue