mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Refs #35167 -- Fixed test_bulk_update_custom_get_prep_value() crash on databases that don't support primitives in JSONFields.
For example on Oracle < 21c.
This commit is contained in:
parent
65c46d6932
commit
7500044a82
2 changed files with 5 additions and 1 deletions
|
|
@ -438,7 +438,10 @@ class CustomSerializationJSONModel(models.Model):
|
|||
json_field = StringifiedJSONField()
|
||||
|
||||
class Meta:
|
||||
required_db_features = {"supports_json_field"}
|
||||
required_db_features = {
|
||||
"supports_json_field",
|
||||
"supports_primitives_in_json_field",
|
||||
}
|
||||
|
||||
|
||||
class AllFieldsModel(models.Model):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue