mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField as output_field on Oracle < 23c.
Thanks Václav Řehák for the report.
Regression in f333e3513e.
This commit is contained in:
@@ -1522,7 +1522,6 @@ class LookupQueryingTests(TestCase):
|
||||
qs = Season.objects.order_by(LessThan(F("year"), 1910), F("year"))
|
||||
self.assertSequenceEqual(qs, [self.s1, self.s3, self.s2])
|
||||
|
||||
@skipUnlessDBFeature("supports_boolean_expr_in_select_clause")
|
||||
def test_aggregate_combined_lookup(self):
|
||||
expression = Cast(GreaterThan(F("year"), 1900), models.IntegerField())
|
||||
qs = Season.objects.aggregate(modern=models.Sum(expression))
|
||||
|
||||
Reference in New Issue
Block a user