We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f66cf8 commit 4d212e0Copy full SHA for 4d212e0
psqlextra/query.py
@@ -48,7 +48,7 @@ def rename_annotations(self, annotations) -> None:
48
49
if django.VERSION < (2, 0):
50
self.set_annotation_mask(
51
- (new_name if v == old_name else v for v in self.annotation_select_mask))
+ (new_name if v == old_name else v for v in (self.annotation_select_mask or [])))
52
53
def add_join_conditions(self, conditions: Dict[str, Any]) -> None:
54
"""Adds an extra condition to an existing JOIN.
0 commit comments