Commit c5e39ce729da643a361f9bae7b29dcffd5616e43
1 parent
5ec6e62b
Exists in
community_association
Update NoosferoCommunity model's unicode method
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com> Signed-off-by: Lucas Moura <lucas.moura128@gmail.com>
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
colab/plugins/noosfero/models.py
@@ -32,8 +32,7 @@ class NoosferoCommunity(Collaboration): | @@ -32,8 +32,7 @@ class NoosferoCommunity(Collaboration): | ||
32 | return self.created_at | 32 | return self.created_at |
33 | 33 | ||
34 | def __unicode__(self): | 34 | def __unicode__(self): |
35 | - return "{}({}) - {}".format(self.name, self.identifier, | ||
36 | - self.description) | 35 | + return "{} - {}".format(self.identifier, self.description) |
37 | 36 | ||
38 | class Meta: | 37 | class Meta: |
39 | verbose_name = _('Community') | 38 | verbose_name = _('Community') |