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