diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-24 11:12:48 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-24 11:30:05 +0100 |
| commit | 9328ef0e84db2559af56d24c40e6b24b74e29a6f (patch) | |
| tree | 1f96a51ced491f61e9ad7fdb08bd8760dfc35a7d /tests/regressiontests/admin_scripts/complex_app | |
| parent | 1c061ef568bf05827d449e1bbe426d624851e935 (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')
0 files changed, 0 insertions, 0 deletions
