diff options
| author | Tom Christie | 2013-04-03 09:21:04 +0100 |
|---|---|---|
| committer | Tom Christie | 2013-04-03 09:21:04 +0100 |
| commit | a18d3df0f60ac4d5ad981b2d463f8408b44286ff (patch) | |
| tree | 8d6e881587a83fa843141a3f6cd84040dbd43e88 /docs/api-guide/serializers.md | |
| parent | 74fbd5ccc5b2aa2f0aab25ead5ffa36024079fcf (diff) | |
| parent | 5ed70324273d8093335f21155975267b22a641d2 (diff) | |
| download | django-rest-framework-a18d3df0f60ac4d5ad981b2d463f8408b44286ff.tar.bz2 | |
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
Diffstat (limited to 'docs/api-guide/serializers.md')
| -rwxr-xr-x[-rw-r--r--] | docs/api-guide/serializers.md | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
