Tweak comment wrapping.

This commit is contained in:
Tom Christie 2014-02-18 12:30:55 +00:00
parent 68573a3c1a
commit d328f1827d

View File

@ -125,8 +125,8 @@ class UpdateModelMixin(object):
try:
self.pre_save(serializer.object)
except ValidationError as err:
# full_clean on model instance may be called in pre_save, so we
# have to handle eventual errors.
# full_clean on model instance may be called in pre_save,
# so we have to handle eventual errors.
return Response(err.message_dict, status=status.HTTP_400_BAD_REQUEST)
if self.object is None: