summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/complex_app/admin/foo.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-01-24 11:12:48 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-01-24 11:30:05 +0100
commit9328ef0e84db2559af56d24c40e6b24b74e29a6f (patch)
tree1f96a51ced491f61e9ad7fdb08bd8760dfc35a7d /tests/regressiontests/admin_scripts/complex_app/admin/foo.py
parent1c061ef568bf05827d449e1bbe426d624851e935 (diff)
[1.5.x] Avoided a possible regression in 5097d3c5.
QuerySet.none() returns an instance of EmptyQuerySet, which may have undesirable side effects in the presence of custom query set classes. The implementation of .none() was refactored in master to have the same effect as .filter(pk__in=[]). Refs #19652. Thanks Simon Charrette for the report.
Diffstat (limited to 'tests/regressiontests/admin_scripts/complex_app/admin/foo.py')
0 files changed, 0 insertions, 0 deletions