django-cte 2.0.0.dev20250610173146__py3-none-any.whl → 2.0.0.dev20251006115930__py3-none-any.whl
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/__init__.py +1 -1
- django_cte/cte.py +4 -4
- {django_cte-2.0.0.dev20250610173146.dist-info → django_cte-2.0.0.dev20251006115930.dist-info}/METADATA +1 -1
- {django_cte-2.0.0.dev20250610173146.dist-info → django_cte-2.0.0.dev20251006115930.dist-info}/RECORD +6 -6
- {django_cte-2.0.0.dev20250610173146.dist-info → django_cte-2.0.0.dev20251006115930.dist-info}/WHEEL +0 -0
- {django_cte-2.0.0.dev20250610173146.dist-info → django_cte-2.0.0.dev20251006115930.dist-info}/licenses/LICENSE +0 -0
django_cte/__init__.py
CHANGED
django_cte/cte.py
CHANGED
|
@@ -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.dist-info → django_cte-2.0.0.dev20251006115930.dist-info}/RECORD
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
django_cte/__init__.py,sha256=
|
|
1
|
+
django_cte/__init__.py,sha256=L9F3ddna9UPgqOnoiy2WRImQBNi6YKcbuhu4zGW93Zk,141
|
|
2
2
|
django_cte/_deprecated.py,sha256=OAEmWVqnoi-27m2nyrfTIwVwPE1J8VLrfspgRHW-EZI,5623
|
|
3
|
-
django_cte/cte.py,sha256=
|
|
3
|
+
django_cte/cte.py,sha256=QlOiu3kTobYakg36SLIzTrhB5bWPtgGiihpu1jYgcqY,8129
|
|
4
4
|
django_cte/jitmixin.py,sha256=JRTRlbBhD8XD0GHwxg8wKdJSbcTv_zUrSyqtOSfgM5M,885
|
|
5
5
|
django_cte/join.py,sha256=2b1iBKFFiqBqYBmX4W9q2RfX17xXjZbbzClpUdbnUtA,3156
|
|
6
6
|
django_cte/meta.py,sha256=gNBtegkvg5CXcEPyt1nZMIF2UlsPMTUPStVJSsRni3I,3491
|
|
7
7
|
django_cte/query.py,sha256=djY7Bknl_NQSd1g6zy8N3fU3h2r8OfpyeJY_Zt9a7fg,5582
|
|
8
8
|
django_cte/raw.py,sha256=6_YDCKBsgXx1oQku4EcyK4qJmnmiyzEeZRxiYdkg8Y8,1045
|
|
9
|
-
django_cte-2.0.0.
|
|
10
|
-
django_cte-2.0.0.
|
|
11
|
-
django_cte-2.0.0.
|
|
12
|
-
django_cte-2.0.0.
|
|
9
|
+
django_cte-2.0.0.dev20251006115930.dist-info/licenses/LICENSE,sha256=mkLNw_QhpZ40jBEbuAosqH4ciA3KMrwb8aSYbTmy5gc,1508
|
|
10
|
+
django_cte-2.0.0.dev20251006115930.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
11
|
+
django_cte-2.0.0.dev20251006115930.dist-info/METADATA,sha256=GBh26fB_8R6SZG_KcoiyWpf-xqnmgzbtnyB5lWwzx5g,2696
|
|
12
|
+
django_cte-2.0.0.dev20251006115930.dist-info/RECORD,,
|
{django_cte-2.0.0.dev20250610173146.dist-info → django_cte-2.0.0.dev20251006115930.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|