How to Solve NameError: name 'MaxValueValidator' is not defined -- django
Solution: Import the 'MaxValueValidator' module
To Solve the error, add the following line to the top of your code.
from django import MaxValueValidator
For more information:
Python django MaxValueValidator