Files
mayan-edms/mayan/apps/document_indexing/events.py
Roberto Rosario dda0f0d2af Update index document types view to AddRemoveView
Add index create and edit events.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
2019-04-27 23:01:46 -04:00

17 lines
484 B
Python

from __future__ import absolute_import, unicode_literals
from django.utils.translation import ugettext_lazy as _
from mayan.apps.events.classes import EventTypeNamespace
namespace = EventTypeNamespace(
label=_('Document indexing'), name='document_indexing'
)
event_index_template_created = namespace.add_event_type(
label=_('Index created'), name='index_created'
)
event_index_template_edited = namespace.add_event_type(
label=_('Index edited'), name='index_edited'
)