1👍
✅
To make it an official answer, use slicing:
...
return self.list_after[:33]
Note that the result is still a queryset, not a list
Source:stackexchange.com
1👍
To make it an official answer, use slicing:
...
return self.list_after[:33]
Note that the result is still a queryset, not a list