Files
app-store-optimization/skills/loki-mode/benchmarks/results/2026-01-05-10-37-54/swebench-loki-patches/django__django-13158.patch

15 lines
397 B
Diff

# django__django-13158
# Loki Mode Multi-Agent Patch
# Attempts: 1
--- a/django/db/models/query.py
+++ b/django/db/models/query.py
@@ -912,6 +912,8 @@ class QuerySet:
def none(self):
"""Return an empty QuerySet."""
+ self.query.combinator = None
+ self.query.combined_queries = ()
clone = self._chain()
clone.query.set_empty()
return clone