So, I don't know the implications and it was already like this before so this should be for another bug, but you don't have to hardcode that - you could use `instance._meta.get_field_by_name(slug_field)[0].max_length`