Skip to content

Commit db16f43

Browse files
author
Javier Palacios
committed
BUGFIX: empty separator should use CharField
1 parent 8a154d1 commit db16f43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/django_mysql/models/aggregates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(
2525
):
2626

2727
if "output_field" not in extra:
28-
if separator:
28+
if separator is not None:
2929
extra["output_field"] = CharField()
3030
elif distinct:
3131
extra['output_field'] = SetCharField(CharField())

0 commit comments

Comments
 (0)