diff options
| author | Tom Christie | 2014-02-18 12:30:55 +0000 |
|---|---|---|
| committer | Tom Christie | 2014-02-18 12:30:55 +0000 |
| commit | d328f1827dcb53a92b11f3f146bad4db3ca83d89 (patch) | |
| tree | 06749183f30d78b907bb92a5ee5964a2b8782fd2 /rest_framework/mixins.py | |
| parent | 68573a3c1a35a2c278a5e94e581b23510b6a8cde (diff) | |
| download | django-rest-framework-d328f1827dcb53a92b11f3f146bad4db3ca83d89.tar.bz2 | |
Tweak comment wrapping.
Diffstat (limited to 'rest_framework/mixins.py')
| -rw-r--r-- | rest_framework/mixins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/mixins.py b/rest_framework/mixins.py index 7722d5be..e1a24dc7 100644 --- a/rest_framework/mixins.py +++ b/rest_framework/mixins.py @@ -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: |
