From 9aade6b558c0fffce193f08898e860102e8a5cf1 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz <henrik@levkowetz.com> Date: Tue, 13 Oct 2015 16:36:29 +0000 Subject: [PATCH] Updated liaison resources file. - Legacy-Id: 10193 --- ietf/liaisons/resources.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ietf/liaisons/resources.py b/ietf/liaisons/resources.py index 0d1615eae..a14ea2fa2 100644 --- a/ietf/liaisons/resources.py +++ b/ietf/liaisons/resources.py @@ -1,4 +1,4 @@ -# Autogenerated by the makeresources management command 2015-08-27 10:22 PDT +# Autogenerated by the makeresources management command 2015-10-11 13:15 PDT from tastypie.resources import ModelResource from tastypie.fields import ToOneField, ToManyField # pyflakes:ignore from tastypie.constants import ALL, ALL_WITH_RELATIONS # pyflakes:ignore @@ -52,10 +52,12 @@ class LiaisonStatementGroupContactsResource(ModelResource): group = ToOneField(GroupResource, 'group') class Meta: queryset = LiaisonStatementGroupContacts.objects.all() + serializer = api.Serializer() #resource_name = 'liaisonstatementgroupcontacts' filtering = { "id": ALL, "contacts": ALL, + "cc_contacts": ALL, "group": ALL_WITH_RELATIONS, } api.liaisons.register(LiaisonStatementGroupContactsResource()) @@ -68,6 +70,7 @@ class LiaisonStatementEventResource(ModelResource): statement = ToOneField(LiaisonStatementResource, 'statement') class Meta: queryset = LiaisonStatementEvent.objects.all() + serializer = api.Serializer() #resource_name = 'liaisonstatementevent' filtering = { "id": ALL, @@ -85,6 +88,7 @@ class LiaisonStatementAttachmentResource(ModelResource): document = ToOneField(DocumentResource, 'document') class Meta: queryset = LiaisonStatementAttachment.objects.all() + serializer = api.Serializer() #resource_name = 'liaisonstatementattachment' filtering = { "id": ALL, @@ -101,6 +105,7 @@ class RelatedLiaisonStatementResource(ModelResource): relationship = ToOneField(DocRelationshipNameResource, 'relationship') class Meta: queryset = RelatedLiaisonStatement.objects.all() + serializer = api.Serializer() #resource_name = 'relatedliaisonstatement' filtering = { "id": ALL,