#NEWLINE# def total_form_count( self ) : #NEWLINE# #INDENT# '\n        This rewrite of total_form_count allows to add an empty form to the formset only when\n        no initial data is provided.\n        ' #NEWLINE# total_forms = super ( BaseTopicPollOptionFormset , self ) . total_form_count ( ) #NEWLINE# if ( ( not self . data ) and ( not self . files ) and ( self . initial_form_count ( ) > 0 ) ) : #NEWLINE# #INDENT# total_forms -= total_forms . extra #NEWLINE# #UNINDENT# return total_forms