1👍
✅
Since Cursa.objects.filter
returns a list
, simply limited the number of objects to at most 50 by:
Cursa.objects.filter[:50]
This is known as splicing
Source:stackexchange.com