On Sep 15, 8:46 pm, megaman821 <
megaman...@gmail.com> wrote:
> For example if you write a book handler that returns a list of books,
> could you include the number of books returned?
Sure. Try something like this:
def read(self, request):
books = Book.objects.all()
return { 'books': books, 'count': books.count() }
Jesper