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