use backend agnostic text type for custom field, related to #345 and #338

This commit is contained in:
meeb 2023-02-20 14:56:28 +11:00
parent 2639d911ab
commit 7876b48860
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class CommaSepChoiceField(models.Field):
return name, path, args, kwargs return name, path, args, kwargs
def db_type(self, _connection): def db_type(self, _connection):
return 'TextField' return 'text'
def get_my_choices(self): def get_my_choices(self):
choiceArray = [] choiceArray = []