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:
8
mayan/apps/user_management/methods.py
Normal file
8
mayan/apps/user_management/methods.py
Normal 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,))
|
||||
Reference in New Issue
Block a user