- edited description
Simplify crop function
Issue #20
new
The crop function here could be simply this 1 line:
def crop_slug(field, slug):
return slug[:field.max_length]
and it'll still achieve the same thing
Comments (1)
-
reporter - Log in to comment