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