You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/api-guide/fields.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -303,7 +303,7 @@ Corresponds to `django.db.models.fields.DecimalField`.
303
303
*`min_value` Validate that the number provided is no less than this value.
304
304
*`localize` Set to `True` to enable localization of input and output based on the current locale. This will also force `coerce_to_string` to `True`. Defaults to `False`. Note that data formatting is enabled if you have set `USE_L10N=True` in your settings file.
305
305
*`rounding` Sets the rounding mode used when quantizing to the configured precision. Valid values are [`decimal` module rounding modes][python-decimal-rounding-modes]. Defaults to `None`.
306
-
*`normalize_output` Will normalize the decimal value when serialized. This will strip all trailing zeroes and change the value's precision to the minimum required precision to be able to represent the value without loosing data. Defaults to `False`.
306
+
*`normalize_output` Will normalize the decimal value when serialized. This will strip all trailing zeroes and change the value's precision to the minimum required precision to be able to represent the value without losing data. Defaults to `False`.
Copy file name to clipboardexpand all lines: docs/community/release-notes.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Date: 22nd September 2022
47
47
* Stop calling `set_context` on Validators. [[#8589](https://github.com/encode/django-rest-framework/pull/8589)]
48
48
* Return `NotImplemented` from `ErrorDetails.__ne__`. [[#8538](https://github.com/encode/django-rest-framework/pull/8538)]
49
49
* Don't evaluate `DateTimeField.default_timezone` when a custom timezone is set. [[#8531](https://github.com/encode/django-rest-framework/pull/8531)]
50
-
* Make relative URLs clickable in Browseable API. [[#8464](https://github.com/encode/django-rest-framework/pull/8464)]
50
+
* Make relative URLs clickable in Browsable API. [[#8464](https://github.com/encode/django-rest-framework/pull/8464)]
51
51
* Support `ManyRelatedField` falling back to the default value when the attribute specified by dot notation doesn't exist. Matches `ManyRelatedField.get_attribute` to `Field.get_attribute`. [[#7574](https://github.com/encode/django-rest-framework/pull/7574)]
52
52
* Make `schemas.openapi.get_reference` public. [[#7515](https://github.com/encode/django-rest-framework/pull/7515)]
53
53
* Make `ReturnDict` support `dict` union operators on Python 3.9 and later. [[#8302](https://github.com/encode/django-rest-framework/pull/8302)]
@@ -65,7 +65,7 @@ Date: 15th December 2021
65
65
66
66
Date: 13th December 2021
67
67
68
-
* Django 4.0 compatability. [#8178]
68
+
* Django 4.0 compatibility. [#8178]
69
69
* Add `max_length` and `min_length` options to `ListSerializer`. [#8165]
70
70
* Add `get_request_serializer` and `get_response_serializer` hooks to `AutoSchema`. [#7424]
71
71
* Fix OpenAPI representation of null-able read only fields. [#8116]
@@ -954,7 +954,7 @@ See the [release announcement][3.6-release].
954
954
* Prevent raising exception when limit is 0. ([#4098][gh4098])
955
955
* TokenAuthentication: Allow custom keyword in the header. ([#4097][gh4097])
0 commit comments