Fixed missing comments child causing mix upload to fail

This commit is contained in:
Fergal Moran
2013-02-21 16:51:10 +00:00
parent 155785ca2f
commit de99540145

View File

@@ -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: