1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.6.x] Fixed #21405 -- Prevented queryset overwrite in BaseModelAdmin

Thanks guido@20tab.com for the report and Tim Graham for the
analyze.
Backport of 1718b5256c from master.
This commit is contained in:
Claude Paroz
2013-11-21 22:18:52 +01:00
parent 5730bf2819
commit 9cbcd06b1a
3 changed files with 32 additions and 6 deletions

View File

@@ -28,3 +28,5 @@ Bug fixes
non related to file extensions (#21457).
* Fixed display of inline instances in formsets when parent has 0 for primary
key (#21472).
* Fixed a regression where custom querysets for foreign keys were overwritten
if ``ModelAdmin`` had ordering set (#21405).