in Django by
To limit a queryset result to return objects from 4th through 8th object, use ________.

select the correct answer from below options

a) Mymodel.objects.all()[4:8]

b) Mymodel.objects.all()[:8]

c) Mymodel.objects.all()[3:8]

d) Mymodel.objects.all()[4:]

1 Answer

0 votes
by
c) Mymodel.objects.all()[3:8]
...