hey
I have a problem that feels really n00b, but didn't manage to figure out what's happening here:
class SimpleStorylineSerializer(serializers.ModelSerializer):
class Meta:
model = Storyline
fields = ('text', 'language', 'featured', 'gallery', 'render_url')
class PaginatedStorylineSerializer(pagination.PaginationSerializer):
class Meta:
object_serializer_class = SimpleStorylineSerializer
class StorylineGallery(generics.ListAPIView):
queryset = Storyline.objects.filter(gallery=True)
serializer_class = PaginatedStorylineSerializer
throws an AttributeError: 'Storyline' object has no attribute 'has_next' in rest_framework/pagination.py in to_representation, line 17
using django 1.7.x and restframework 3.0.5
any idea? help greatly appreciated