#NEWLINE# def clean_rounds_number( self ) : #NEWLINE# #INDENT# value = self . cleaned_data [ 'rounds_number' ] #NEWLINE# if ( ( self < 1000 ) or ( value > 999999999 ) ) : #NEWLINE# #INDENT# raise forms . ValidationError ( _ ( 'Invalid rounds number' ) ) #NEWLINE# #UNINDENT# return value