mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Refs #33333 -- Fixed PickleabilityTestCase.test_annotation_with_callable_default() crash on Oracle.
Grouping by LOBs is not allowed on Oracle. This moves a binary field to a separate model.
This commit is contained in:
@@ -46,6 +46,9 @@ class Happening(models.Model):
|
||||
number1 = models.IntegerField(blank=True, default=standalone_number)
|
||||
number2 = models.IntegerField(blank=True, default=Numbers.get_static_number)
|
||||
event = models.OneToOneField(Event, models.CASCADE, null=True)
|
||||
|
||||
|
||||
class BinaryFieldModel(models.Model):
|
||||
data = models.BinaryField(null=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user