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