mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +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:
committed by
Tim Graham
parent
e0d1f2684a
commit
f9c4e14aec
14
docs/releases/1.5.12.txt
Normal file
14
docs/releases/1.5.12.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
===========================
|
||||
Django 1.5.12 release notes
|
||||
===========================
|
||||
|
||||
*Under development*
|
||||
|
||||
Django 1.5.12 fixes a regression in the 1.5.9 security release.
|
||||
|
||||
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