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>
9 lines
221 B
Python
9 lines
221 B
Python
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,))
|