1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00

Add teams related resource to org.

This commit is contained in:
Michael DeHaan 2013-04-23 10:25:12 -04:00
parent e511b60e29
commit 069d16a1ae

View File

@ -46,7 +46,8 @@ class OrganizationSerializer(BaseSerializer):
projects = reverse(lib.urls.views_OrganizationsProjectsList, args=(obj.pk,)),
users = reverse(lib.urls.views_OrganizationsUsersList, args=(obj.pk,)),
admins = reverse(lib.urls.views_OrganizationsAdminsList, args=(obj.pk,)),
tags = reverse(lib.urls.views_OrganizationsTagsList, args=(obj.pk,))
tags = reverse(lib.urls.views_OrganizationsTagsList, args=(obj.pk,)),
teams = reverse(lib.urls.views_OrganizationsTeamsList, args=(obj.pk,))
)
class AuditTrailSerializer(BaseSerializer):