@classmethod
def make_disabled_fields(cls, obj, ar):
    """
        Return a set of disabled fields for the specified object and
        request.

        See :doc:`/dev/disabled_fields`.
        """
    s = set()
    state = cls.get_row_state(obj)
    if state is not None:
        s |= cls._state_to_disabled_actions.get(state.name, set())
    return s
