diff options
| author | Tom Christie | 2013-03-31 05:34:13 -0700 | 
|---|---|---|
| committer | Tom Christie | 2013-03-31 05:34:13 -0700 | 
| commit | 64bcbb34d45c2500decb409a662b36c8d4174156 (patch) | |
| tree | 9b59697d8b70e7b0d87df65de12a3836a152ed97 /docs/api-guide | |
| parent | 399ac70b831d782b7d774950b59f3b2066ab86f7 (diff) | |
| parent | 33ce7dfac4c9279ad6035d520a421cc7d77ffae5 (diff) | |
| download | django-rest-framework-64bcbb34d45c2500decb409a662b36c8d4174156.tar.bz2 | |
Merge pull request #769 from vshih/master
Spelling/grammar fixes.
Diffstat (limited to 'docs/api-guide')
| -rwxr-xr-x[-rw-r--r--] | docs/api-guide/generic-views.md | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | docs/api-guide/serializers.md | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md index 20f1be63..cef9a9d4 100644..100755 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -200,7 +200,7 @@ Should be mixed in with any [GenericAPIView].  Provides a `.retrieve(request, *args, **kwargs)` method, that implements returning an existing model instance in a response. -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`. +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`.  Should be mixed in with [SingleObjectAPIView]. diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md index 1a3c3431..2797b5f5 100644..100755 --- a/docs/api-guide/serializers.md +++ b/docs/api-guide/serializers.md @@ -353,7 +353,7 @@ The `depth` option should be set to an integer value that indicates the depth of  ## Specifying which fields should be read-only  -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: +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:      class AccountSerializer(serializers.ModelSerializer):          class Meta:  | 
