コード例 #1
0
def document_override_storage_factory(context):
    """ Adapter which creates the persistent object storing document specific overrides.

    """
    return base.getOverrideStorage(context, DocumentOverrideStorage)
コード例 #2
0
def storage_factory(context):
    """ Adapter which creates the persistent object storing document specific overrides.

    """
    return getOverrideStorage(context, TemplatedDocumentOverrideStorage)