diff --git a/django_sqids/field.py b/django_sqids/field.py index 395d46b..4c77846 100644 --- a/django_sqids/field.py +++ b/django_sqids/field.py @@ -94,6 +94,9 @@ def get_sqid_instance(self): ) return Sqids(min_length=min_length, alphabet=alphabet) + def get_internal_type(self): + return "CharField" + def get_prep_value(self, value): if self.prefix: if value.startswith(self.prefix):