2
我有以下錯誤信息:ArrayField無法識別?
AttributeError: 'module' object has no attribute 'ArrayField'
下面是相關代碼段:
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)
任何想法什麼可以導致此?