Fixed #20594 -- Add validation to models.SlugField.

Thanks carbonXT for the report.