Skip to content

Commit 33ce7df

Browse files
committed
Spelling/grammar fixes.
1 parent 9b56616 commit 33ce7df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api-guide/generic-views.md

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Should be mixed in with any [GenericAPIView].
200200

201201
Provides a `.retrieve(request, *args, **kwargs)` method, that implements returning an existing model instance in a response.
202202

203-
If an object can be retrieve this returns a `200 OK` response, with a serialized representation of the object as the body of the response. Otherwise it will return a `404 Not Found`.
203+
If an object can be retrieved this returns a `200 OK` response, with a serialized representation of the object as the body of the response. Otherwise it will return a `404 Not Found`.
204204

205205
Should be mixed in with [SingleObjectAPIView].
206206

docs/api-guide/serializers.md

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ The `depth` option should be set to an integer value that indicates the depth of
353353

354354
## Specifying which fields should be read-only
355355

356-
You may wish to specify multiple fields as read-only. Instead of adding each field explicitely with the `read_only=True` attribute, you may use the `read_only_fields` Meta option, like so:
356+
You may wish to specify multiple fields as read-only. Instead of adding each field explicitly with the `read_only=True` attribute, you may use the `read_only_fields` Meta option, like so:
357357

358358
class AccountSerializer(serializers.ModelSerializer):
359359
class Meta:

0 commit comments

Comments
 (0)