From 2bcf2eb5492024a8c30b75fe1e6c6a067c506982 Mon Sep 17 00:00:00 2001 From: kiyoqoko Date: Tue, 5 Jul 2016 10:36:56 +0200 Subject: [PATCH] documentation --- docs/api-guide/fields.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md index b58d02898..581734328 100644 --- a/docs/api-guide/fields.md +++ b/docs/api-guide/fields.md @@ -264,6 +264,7 @@ Corresponds to `django.db.models.fields.DecimalField`. - `coerce_to_string` Set to `True` if string values should be returned for the representation, or `False` if `Decimal` objects should be returned. Defaults to the same value as the `COERCE_DECIMAL_TO_STRING` settings key, which will be `True` unless overridden. If `Decimal` objects are returned by the serializer, then the final output format will be determined by the renderer. - `max_value` Validate that the number provided is no greater than this value. - `min_value` Validate that the number provided is no less than this value. +- `localize` Set to `True` to enable localization of input and output based on the current locale. Defaults to `False`. Note that data formatting is enabled if you have set `USE_L10N=True` in your settings file. #### Example usage