from django.core.validators import validate_slug, validate_email from django.db import models SlugField = models.CharField(validators=[validate_slug]) EmailField = models.CharField(validators=[validate_email])