def METHOD_NAME(self, data):
    data['orientation'] = RackOrientation.id_from_name(data['orientation'])
    data['server_room'] = ServerRoom.objects.get(
        pk=int(data['server_room'])
    )
    return Rack.objects.METHOD_NAME(**data)