1- # Autogenerated by the makeresources management command 2015-08-27 10:22 PDT
1+ # Autogenerated by the makeresources management command 2015-10-11 13:15 PDT
22from tastypie .resources import ModelResource
33from tastypie .fields import ToOneField , ToManyField # pyflakes:ignore
44from tastypie .constants import ALL , ALL_WITH_RELATIONS # pyflakes:ignore
@@ -52,10 +52,12 @@ class LiaisonStatementGroupContactsResource(ModelResource):
5252 group = ToOneField (GroupResource , 'group' )
5353 class Meta :
5454 queryset = LiaisonStatementGroupContacts .objects .all ()
55+ serializer = api .Serializer ()
5556 #resource_name = 'liaisonstatementgroupcontacts'
5657 filtering = {
5758 "id" : ALL ,
5859 "contacts" : ALL ,
60+ "cc_contacts" : ALL ,
5961 "group" : ALL_WITH_RELATIONS ,
6062 }
6163api .liaisons .register (LiaisonStatementGroupContactsResource ())
@@ -68,6 +70,7 @@ class LiaisonStatementEventResource(ModelResource):
6870 statement = ToOneField (LiaisonStatementResource , 'statement' )
6971 class Meta :
7072 queryset = LiaisonStatementEvent .objects .all ()
73+ serializer = api .Serializer ()
7174 #resource_name = 'liaisonstatementevent'
7275 filtering = {
7376 "id" : ALL ,
@@ -85,6 +88,7 @@ class LiaisonStatementAttachmentResource(ModelResource):
8588 document = ToOneField (DocumentResource , 'document' )
8689 class Meta :
8790 queryset = LiaisonStatementAttachment .objects .all ()
91+ serializer = api .Serializer ()
8892 #resource_name = 'liaisonstatementattachment'
8993 filtering = {
9094 "id" : ALL ,
@@ -101,6 +105,7 @@ class RelatedLiaisonStatementResource(ModelResource):
101105 relationship = ToOneField (DocRelationshipNameResource , 'relationship' )
102106 class Meta :
103107 queryset = RelatedLiaisonStatement .objects .all ()
108+ serializer = api .Serializer ()
104109 #resource_name = 'relatedliaisonstatement'
105110 filtering = {
106111 "id" : ALL ,
0 commit comments