Fix row size

This commit is contained in:
andrei-datcu 2021-08-11 21:49:14 +03:00 committed by GitHub
parent 00ac51c83d
commit e515af6a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -205,7 +205,9 @@ def convert_field_to_boolean(field, registry=None):
@convert_django_field.register(models.DecimalField)
def convert_field_to_decimal(field, registry=None):
return Decimal(description=get_django_field_description(field), required=not field.null)
return Decimal(
description=get_django_field_description(field), required=not field.null
)
@convert_django_field.register(models.FloatField)