django/tests/admin_views
Simon Charette 2a20bccda9 [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 f9c4e14aec from master
2014-11-25 13:32:24 -05:00
..
fixtures Fixed #8261 -- ModelAdmin hook for customising the "show on site" button 2013-10-29 17:10:12 -04:00
templates Fixed #21371 -- Added the block.super to admin bodyclass blocks. 2014-02-10 09:13:29 -05:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
admin.py [1.7.x] Fixed #23754 -- Always allowed reference to the primary key in the admin 2014-11-25 13:32:24 -05:00
customadmin.py Fixed all E261 warnings 2013-11-02 23:50:33 -05:00
forms.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py [1.7.x] Fixed #23754 -- Always allowed reference to the primary key in the admin 2014-11-25 13:32:24 -05:00
tests.py [1.7.x] Fixed #23754 -- Always allowed reference to the primary key in the admin 2014-11-25 13:32:24 -05:00
urls.py Removed most of absolute_import imports 2013-07-29 20:28:13 +02:00
views.py PEP8 cleanup 2013-11-02 23:50:49 -05:00