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