I have the following error message:
AttributeError: 'module' object has no attribute 'ArrayField'
Here is the relevant code segment:
from __future__ import unicode_literals
from django.db import models
from django.contrib.postgres.fields import ArrayField
class TypeStatistics(models.Model):
bots_array = models.ArrayField(models.CharField(max_length=50), blank=True)
Any idea what can be causing this?