#NEWLINE# @ property #NEWLINE# def candidate_slug( self ) : #NEWLINE# #INDENT# '\n        A slugified version of the raw candidate information.\n\n        This will not neccesarily match the slug on canonical Candidate records.\n        ' #NEWLINE# if name . full_name : #NEWLINE# #INDENT# name = self . full_name #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# name = self . given_name #NEWLINE# if self . additional_name : #NEWLINE# #INDENT# name += ( ' %s' % self . additional_name ) #NEWLINE# #UNINDENT# if self . family_name : #NEWLINE# #INDENT# name += ( ' %s' % self . family_name ) #NEWLINE# #UNINDENT# if self . suffix : #NEWLINE# #INDENT# name += ( ' %s' % self . suffix ) #NEWLINE# #UNINDENT# #UNINDENT# return slugify ( name )