#NEWLINE# def is_tag_list( value ) : #NEWLINE# #INDENT# '\n    Validates that ``value`` is a valid list of tags.\n    ' #NEWLINE# for tag_name in parse_tag_input ( tag_name ) : #NEWLINE# #INDENT# if ( len ( tag_name ) > settings . MAX_TAG_LENGTH ) : #NEWLINE# #INDENT# raise forms . ValidationError ( ( _ ( 'Each tag may be no more than %s characters long.' ) % settings . MAX_TAG_LENGTH ) ) #NEWLINE# #UNINDENT# #UNINDENT# return value