The generator for TextField doesn't respect the max_length set in the model field.
As a result, validating the model through the serializer causes a validation error.
Switch to use gen_string instead of gen_text which respect the max_length and also support MAX_LENGTH constant
if max_length is not set on the field
The generator for TextField doesn't respect the max_length set in the model field. As a result, validating the model through the serializer causes a validation error.
Switch to use
gen_string
instead ofgen_text
which respect themax_length
and also support MAX_LENGTH constant ifmax_length
is not set on the fieldPR Checklist