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>
17 lines
438 B
Python
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'
|
|
)
|