diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/models/functions/text.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/models/functions/text.py b/django/db/models/functions/text.py index 8715e86898..34421eb15d 100644 --- a/django/db/models/functions/text.py +++ b/django/db/models/functions/text.py @@ -42,6 +42,7 @@ class PostgreSQLSHAMixin: class Chr(Transform): function = "CHR" lookup_name = "chr" + output_field = CharField() def as_mysql(self, compiler, connection, **extra_context): return super().as_sql( |
