call the method validators.MaxValueValidator with max_value converted into an integer, append the result to list self.validators.
self . validators . append ( validators . MaxValueValidator ( max_value ) )