#NEWLINE# def _save_polls( self ) : #NEWLINE# #INDENT# assert self . instance . pk #NEWLINE# assert ( self . polls is not None ) #NEWLINE# polls = self . polls [ 'polls' ] #NEWLINE# choices = self . polls [ 'choices' ] #NEWLINE# CommentPoll . update_or_create_many ( comment = self . instance , polls_raw = polls ) #NEWLINE# CommentPollChoice . update_or_create_many ( comment = self . instance , choices_raw = choices )