diff --git a/djangoldp_polls/models.py b/djangoldp_polls/models.py index a6855feb5e5d1848b690e1e881c494c2544b99fd..484d11783a38abf7b0030be00c9d589240362107 100644 --- a/djangoldp_polls/models.py +++ b/djangoldp_polls/models.py @@ -55,8 +55,9 @@ class Poll (Model): circle = models.ForeignKey(Circle, null=True, related_name="polls") class Meta : - serializer_fields = ['@id','created_at','debate','pollOptions','votes','author','title','image','hostingOrganisation','startDate','endDate','shortDescription','longDescription','tags'] - nested_fields = ['tags','votes','pollOptions','debate'] + serializer_fields = ['@id','created_at','debate','pollOptions','votes','author','title','image','circle',\ + 'hostingOrganisation','startDate','endDate','shortDescription','longDescription','tags'] + nested_fields = ['tags','votes','pollOptions','debate','circle'] anonymous_perms = ['view','add','change'] authenticated_perms = ['inherit','add']