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