'Set the `.action` attribute on the view,
depending on the request method.'

def initialize_request(self, request, *args, **kwargs):

    request = super(ViewSetMixin, self).initialize_request(request, *args, **kwargs)
    method = request.method.lower()
    if (method == u'options'):
        self.action = u'metadata'
    else:
        self.action = self.action_map.get(method)
    return request
