AttributeError: Module 'django.db.models' Has No Attribute 'ArrayField'

[Solved] AttributeError: Module 'django.db.models' Has No Attribute 'ArrayField' | Python Frameworks Django - Code Explorer | www.yomemimo.com
Question : AttributeError: module 'django.db.models' has no attribute 'ArrayField'

Answered by : mitchaloha

from django.contrib.postgres.fields import ArrayField
bots_array = ArrayField(models.CharField(max_length=50), blank=True)

Source : https://stackoverflow.com/questions/38668045/arrayfield-not-recognized | Last Update : Fri, 22 Oct 21

Answers related to AttributeError: module 'django.db.models' has no attribute 'ArrayField'

Code Explorer Popular Question For Python Frameworks Django