get two random records from model 'MyModel' in Django,MyModel.objects.order_by('?')[:2]