Merge pull request #1374 from AlanCoding/your_name

More consistent representations of model objects
This commit is contained in:
Alan Rominger
2018-02-28 09:08:29 -05:00
committed by GitHub
4 changed files with 9 additions and 12 deletions

View File

@@ -74,9 +74,6 @@ class Organization(CommonModel, NotificationFieldsModel, ResourceMixin, CustomVi
def get_absolute_url(self, request=None):
return reverse('api:organization_detail', kwargs={'pk': self.pk}, request=request)
def __unicode__(self):
return self.name
class Team(CommonModelNameNotUnique, ResourceMixin):
'''