only select first 2 instances of a queryset django code example
Example 1: how to get only first record in django
MyModel.objects.filter(blah=blah).first()
Example 2: django queryset first element
queryset.first()
MyModel.objects.filter(blah=blah).first()
queryset.first()