[Answered ]-Django Feed setting number of items to return in URL parameter

2👍

It looks like get_object takes the kwargs you need, and is supposed to return an object describing the feed. In your case, you just need the count:

def get_object(self, request, *args, **kwargs):
    return int(kwargs['count'])

Then your items method will work.

👤ebsddd

Leave a comment