def get_docrule_plugin_mappings(self):
        log.info('get_docrule_mapping for DocumentTypeRule : %s.' % self)
        mapping = dms_plugins.models.DoccodePluginMapping.objects.filter(
            doccode=str(self.pk),
            active=True)
        if mapping.count():
            mapping = mapping[0]
        else:
            raise DmsException('Rule not found', 404)
        return mapping
Given a list of frames, returns a list of stack information
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/core/models.py/DocumentTypeRule.get_docrule_plugin_mappings--crossover with--dataset/ETHPy150Open getsentry/raven-python/raven/utils/stacks.py/get_stack_info