Skip to content

Commit

Permalink
HACK: Attempt to fix for Oracle.
Browse files Browse the repository at this point in the history
  • Loading branch information
ngnpope committed Jun 11, 2023
1 parent 8fc00f4 commit 0e708aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/backends/oracle/operations.py
Expand Up @@ -206,7 +206,7 @@ def time_trunc_sql(self, lookup_type, sql, params, tzname=None):
def get_db_converters(self, expression):
converters = super().get_db_converters(expression)
internal_type = expression.output_field.get_internal_type()
if internal_type in ["JSONField", "TextField"]:
if internal_type in ["CharField", "JSONField", "TextField"]:
converters.append(self.convert_textfield_value)
elif internal_type == "BinaryField":
converters.append(self.convert_binaryfield_value)
Expand Down

0 comments on commit 0e708aa

Please sign in to comment.