validate_slug is a instance of a RegexValidator class, created with 3 arguments: slug_re, return value of the call to the function,
validate_slug = RegexValidator ( slug_re , _ ( "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens." ) , 'invalid' )