From a61ab6dcf97760ba7c75cb1cf5d539e89eb7b231 Mon Sep 17 00:00:00 2001 From: Macartur Sousa Date: Tue, 13 Oct 2015 11:41:10 -0300 Subject: [PATCH] Changed community name to identifier --- src/colab_spb/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/colab_spb/views.py b/src/colab_spb/views.py index 3623f72..e398302 100644 --- a/src/colab_spb/views.py +++ b/src/colab_spb/views.py @@ -73,8 +73,8 @@ def get_community_association(community, limit=7, offset=0): associations = CommunityAssociations.objects.all() for community_association in associations: - if community_association.community.name in community: - return {'community': community_association.community.name, + if community_association.community.identifier in community: + return {'community': community_association.community.identifier, 'repository': community_association.group.url, 'mailman_list': community_association.mail_list.name, 'limit': limit, -- libgit2 0.21.2