django/tests/admin_views
Simon Charette 2fd16232b1 [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
2014-11-25 13:48:50 -05:00
..
fixtures Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
templates Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
__init__.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
admin.py [1.6.x] Fixed #23754 -- Always allowed reference to the primary key in the admin 2014-11-25 13:48:50 -05:00
customadmin.py Fixed #15363 -- Renamed and normalized to `get_queryset` the methods that return a QuerySet. 2013-03-08 10:11:45 -05:00
forms.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00
models.py [1.6.x] Fixed #23754 -- Always allowed reference to the primary key in the admin 2014-11-25 13:48:50 -05:00
tests.py [1.6.x] Fixed #23754 -- Always allowed reference to the primary key in the admin 2014-11-25 13:48:50 -05:00
urls.py [1.6.x] Fixed #20767 -- Fixed ModelAdmin.preserve_filters for namespaced URLs. 2013-07-18 18:23:21 -04:00
views.py Merged regressiontests and modeltests into the test root. 2013-02-26 14:36:57 +01:00