Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1248 from johngian/groups-admin-fix
Browse files Browse the repository at this point in the history
Fix short description for `get_groups`.
  • Loading branch information
johngian authored Sep 30, 2016
2 parents 523a30c + cd25fa8 commit 96b042b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remo/profiles/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down

0 comments on commit 96b042b

Please sign in to comment.