'Enter a number.' for 'invalid', return value of the function ungettext_lazy called with 3 string arguments: 'Ensure that there are no more than %(max)s digit in total.', 'Ensure that there are no more than %(max)s digits in total.', and 'max' for 'max_digits', return value of the function ungettext_lazy called with 3 string arguments: 'Ensure that there are no more than %(max)s decimal place.', 'Ensure that there are no more than %(max)s decimal places.' and 'max', for 'max_decimal_places' and return value of the function ungettext_lazy called with 3 string arguments: 'Ensure that there are no more than %(max)s digit before the decimal point.', 'Ensure that there are no more than %(max)s digits before the decimal point.' and 'max' for 'max_whole_digits'. define the method __init__ with 7 arguments: self, max_value set to None, min_value set to None, max_digits set to None,
def __init__ ( self , max_value = None , min_value = None , max_digits = None , decimal_places = None , * args , ** kwargs ) :