mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.6.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 f9c4e14aec from master
This commit is contained in:
committed by
Tim Graham
parent
c3a40af6ec
commit
2fd16232b1
@@ -4,7 +4,14 @@ Django 1.4.17 release notes
|
||||
|
||||
*Under development*
|
||||
|
||||
Django 1.4.17 ...
|
||||
Django 1.4.17 fixes a regression in the 1.4.14 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
|
||||
(`#23754 <http://code.djangoproject.com/ticket/23754>`_).
|
||||
|
||||
Reference in New Issue
Block a user