django queryset get first of many field 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()