From cd25fa8132e30ccdbff889d78574b450f933bfd8 Mon Sep 17 00:00:00 2001 From: John Giannelos Date: Fri, 30 Sep 2016 13:38:06 +0300 Subject: [PATCH] Fix short description for `get_groups`. --- remo/profiles/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remo/profiles/admin.py b/remo/profiles/admin.py index 4b1bb1a40..81633dad4 100644 --- a/remo/profiles/admin.py +++ b/remo/profiles/admin.py @@ -196,7 +196,7 @@ class UserAdmin(ExportMixin, UserAdmin): def get_groups(self, obj): user_groups = [group.name for group in obj.groups.all()] return (', ').join(user_groups) - get_groups.short_descriptions = 'Groups' + get_groups.short_description = 'Groups' def get_urls(self): """Return custom and UserAdmin urls."""