diff --git a/helpdesk/templatetags/user_admin_url.py b/helpdesk/templatetags/user_admin_url.py index 783ad510..5a62f0bd 100644 --- a/helpdesk/templatetags/user_admin_url.py +++ b/helpdesk/templatetags/user_admin_url.py @@ -15,7 +15,7 @@ from django.contrib.auth import get_user_model def user_admin_url(action): user = get_user_model() return 'admin:%s_%s_%s' % ( - user._meta.app_label, user._meta.model_name, + user._meta.app_label, user._meta.module_name.lower(), action) register = template.Library()