From de99540145c713ff397421d8a3cb673fc0f25617 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Thu, 21 Feb 2013 16:51:10 +0000 Subject: [PATCH] Fixed missing comments child causing mix upload to fail --- spa/api/v1/MixResource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/api/v1/MixResource.py b/spa/api/v1/MixResource.py index a322242..f555950 100644 --- a/spa/api/v1/MixResource.py +++ b/spa/api/v1/MixResource.py @@ -16,7 +16,7 @@ from spa.models.Mix import Mix class MixResource(BackboneCompatibleResource): - comments = fields.ToManyField('spa.api.v1.CommentResource.CommentResource', 'comments') + comments = fields.ToManyField('spa.api.v1.CommentResource.CommentResource', 'comments', null=True) #downloads = fields.ToManyField('spa.api.v1.ActivityResource.ActivityResource', 'downloads') class Meta: