diff --git a/worf/views/create.py b/worf/views/create.py index b10d662..fedbbab 100644 --- a/worf/views/create.py +++ b/worf/views/create.py @@ -22,5 +22,5 @@ def new_instance(self): def post(self, *args, **kwargs): instance = self.create(*args, **kwargs) - result = self.load_serializer().dump(instance) + result = self.load_serializer().dump(instance) if instance else "" return self.render_to_response(result, 201)