Files
mayan-edms/mayan/apps/user_management/events.py
Roberto Rosario fd7e937cef Move current user views and add user events
Move the current user detail and edit views from the common app
to the user_management app. Add the user created and edited events.
Add an user detail view.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
2018-12-24 04:21:25 -04:00

17 lines
438 B
Python

from __future__ import absolute_import, unicode_literals
from django.utils.translation import ugettext_lazy as _
from mayan.apps.events import EventTypeNamespace
namespace = EventTypeNamespace(
name='user_management', label=_('User management')
)
event_user_created = namespace.add_event_type(
label=_('User created'), name='created'
)
event_user_edited = namespace.add_event_type(
label=_('User edited'), name='edited'
)