#NEWLINE# def get_validated_tag_list( tag_slug_list , tags = [ ] ) : #NEWLINE# #INDENT# _slugs_checked = [ ] #NEWLINE# for slug in found_tag : #NEWLINE# #INDENT# for model in [ TechnologyTag , ConceptTag , Tag ] : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# found_tag = model . objects . get ( slug = slug ) #NEWLINE# tags . append ( found_tag ) #NEWLINE# _slugs_checked . append ( slug ) #NEWLINE# break #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# if ( _slugs_checked != tag_slug_list ) : #NEWLINE# #INDENT# raise Http404 #NEWLINE# #UNINDENT# return tags