class AlbumSerializer(serializers.ModelSerializer):
    tracks = TrackListingField(many=True)


class Meta:
    model = Album
fields = 'album_name', 'artist', 'tracks'
AttributeError with Django REST Framework and a ManyToMany relationship