diff options
| author | Tom Christie | 2014-11-03 14:14:25 +0000 | 
|---|---|---|
| committer | Tom Christie | 2014-11-03 14:14:25 +0000 | 
| commit | 8861a7dfc757a88335048aa7bbccfc8a77850c48 (patch) | |
| tree | 736da30fadc813385cc2359caeb30a8ef5d422cb | |
| parent | 2b535954cdfb050f96588c60d45664b3802dcc25 (diff) | |
| parent | 604728a9ed01e3d41e04c82407d02c166289929f (diff) | |
| download | django-rest-framework-8861a7dfc757a88335048aa7bbccfc8a77850c48.tar.bz2 | |
Merge branch 'version-3.0' of https://github.com/tomchristie/django-rest-framework into version-3.0
| -rw-r--r-- | docs/topics/3.0-announcement.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/topics/3.0-announcement.md b/docs/topics/3.0-announcement.md index 97ffdcf3..f9987ad0 100644 --- a/docs/topics/3.0-announcement.md +++ b/docs/topics/3.0-announcement.md @@ -748,7 +748,7 @@ You can revert this behavior, and display filenames in the representation by usi  You can also modify serializer fields individually, using the `use_url` argument: -    uploaded_file = serializers.FileField(user_url=False) +    uploaded_file = serializers.FileField(use_url=False)  Also note that you should pass the `request` object to the serializer as context when instantiating it, so that a fully qualified URL can be returned. Returned URLs will then be of the form `https://example.com/url_path/filename.txt`. For example: @@ -790,7 +790,7 @@ You can modify this behavior globally by using the `COERCE_DECIMAL_TO_STRING` se          'COERCE_DECIMAL_TO_STRING': False      } -Or modify it on an individual serializer field, using the `corece_to_string` keyword argument. +Or modify it on an individual serializer field, using the `coerce_to_string` keyword argument.      # Return `Decimal` instances in `serializer.data`, not strings.      amount = serializers.DecimalField( | 
