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>
This commit is contained in:
Roberto Rosario
2018-12-24 04:21:25 -04:00
parent 931b17a447
commit fd7e937cef
15 changed files with 185 additions and 116 deletions

View File

@@ -0,0 +1,8 @@
from __future__ import unicode_literals
from django.apps import apps
from django.shortcuts import reverse
def method_get_absolute_url(self):
return reverse(viewname='user_management:user_details', args=(self.pk,))