mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
Fixed #34480 -- Fixed crash of annotations with Chr().
This commit is contained in:
committed by
Mariusz Felisiak
parent
3b4728310a
commit
c3d7a71f83
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user