get object from queryset django code example Example: how to get only first record in django MyModel.objects.filter(blah=blah).first()