add missing auto fields

This commit is contained in:
Paul Bailey 2021-06-07 15:55:50 -05:00
parent 623d0f219e
commit 1a2761b179

View File

@ -166,6 +166,8 @@ def convert_field_to_string(field, registry=None):
)
@convert_django_field.register(models.BigAutoField)
@convert_django_field.register(models.SmallAutoField)
@convert_django_field.register(models.AutoField)
def convert_field_to_id(field, registry=None):
return ID(description=get_django_field_description(field), required=not field.null)