Reputation: 2591
Im my model, one of my filed are ArrayField. How can I use this field in serializer class.
class MyModel(models.Model):
arr = ArrayField(models.CharField())
class MySerializer(ModelSerializer):
class Meta:
model = MyModel
fields = ('arr')
Upvotes: 27
Views: 24174