Skip to content

Commit

Permalink
Fix a typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomir committed Sep 1, 2015
1 parent 5142e5d commit fdd496a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/drf_introspection/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def maybe_raise_error(extra_fields):

def check_read_only_fields(self, keys):
"""
Check that all fields are not read-only. If some are, a ValidationError
is raised with an error message.
Check that all fields are not read-only. If some are, a FieldError is
raised with an error message.
"""
updated_read_only = [key for key in keys if self._is_read_only(key)]
if updated_read_only:
Expand Down

0 comments on commit fdd496a

Please sign in to comment.