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

Fixed #24752 -- query crash when reusing Case expressions

Case expressions weren't copied deep enough (self.cases list was
reused resulting in an error).
This commit is contained in:
Anssi Kääriäinen
2015-05-05 14:11:58 +03:00
committed by Tim Graham
parent 9096e2b5f7
commit 7b05d2fdae
3 changed files with 20 additions and 0 deletions

View File

@@ -10,3 +10,6 @@ Bugfixes
========
* Fixed check for template engine alias uniqueness (:ticket:`24685`).
* Fixed crash when reusing the same ``Case`` instance in a query
(:ticket:`24752`).