def validate_reserved_names(value):
 if (value in settings.DEIS_RESERVED_NAMES):
  raise ValidationError(u'{} is a reserved name.'.format(value))

def validate_reserved_names ( value ) : if ( value in settings . DEIS_RESERVED_NAMES ) : raise ValidationError ( u'{} is a reserved name.' . format ( value ) )
a value cannot use some reserved names .