Ability to add child groups to groups.

This commit is contained in:
Michael DeHaan
2013-03-27 18:17:21 -04:00
parent 4a2673482b
commit 6e15d7a913
5 changed files with 101 additions and 17 deletions

View File

@@ -114,7 +114,7 @@ class GroupSerializer(BaseSerializer):
related = serializers.SerializerMethodField('get_related')
class Meta:
model = Host
model = Group
fields = ('url', 'id', 'name', 'description', 'creation_date', 'inventory')
def get_related(self, obj):