django-cte 2.0.0.dev20250610173146__tar.gz → 2.0.0.dev20251006115930__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/PKG-INFO +1 -1
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/__init__.py +1 -1
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/LICENSE +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/README.md +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/_deprecated.py +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/cte.py +4 -4
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/jitmixin.py +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/join.py +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/meta.py +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/query.py +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/raw.py +0 -0
- {django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/pyproject.toml +0 -0
|
File without changes
|
|
File without changes
|
{django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/_deprecated.py
RENAMED
|
File without changes
|
|
@@ -133,15 +133,15 @@ class CTE:
|
|
|
133
133
|
if cte_query.values_select:
|
|
134
134
|
query.set_values(cte_query.values_select)
|
|
135
135
|
qs._iterable_class = ValuesIterable
|
|
136
|
-
for alias in getattr(cte_query, "selected", None) or ():
|
|
137
|
-
if alias not in cte_query.annotations:
|
|
138
|
-
col = Ref(alias, cte_query.resolve_ref(alias))
|
|
139
|
-
query.add_annotation(col, alias)
|
|
140
136
|
if cte_query.annotations:
|
|
141
137
|
for alias, value in cte_query.annotations.items():
|
|
142
138
|
col = CTEColumnRef(alias, self.name, value.output_field)
|
|
143
139
|
query.add_annotation(col, alias)
|
|
144
140
|
query.annotation_select_mask = cte_query.annotation_select_mask
|
|
141
|
+
for alias in getattr(cte_query, "selected", None) or ():
|
|
142
|
+
if alias not in cte_query.annotations:
|
|
143
|
+
col = Ref(alias, cte_query.resolve_ref(alias))
|
|
144
|
+
query.add_annotation(col, alias)
|
|
145
145
|
|
|
146
146
|
qs.query = query
|
|
147
147
|
return qs
|
{django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/jitmixin.py
RENAMED
|
File without changes
|
{django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/join.py
RENAMED
|
File without changes
|
{django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/meta.py
RENAMED
|
File without changes
|
{django_cte-2.0.0.dev20250610173146 → django_cte-2.0.0.dev20251006115930}/django_cte/query.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|