Fix typo in 3.14 announcement (#9255)

This commit is contained in:
Victorien 2024-02-14 12:02:02 +01:00 committed by GitHub
parent 5ad467aa2c
commit df89f32b88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,10 +28,10 @@ Our requirements are now:
* Python 3.6+ * Python 3.6+
* Django 4.1, 4.0, 3.2, 3.1, 3.0 * Django 4.1, 4.0, 3.2, 3.1, 3.0
## `raise_exceptions` argument for `is_valid` is now keyword-only. ## `raise_exception` argument for `is_valid` is now keyword-only.
Calling `serializer_instance.is_valid(True)` is no longer acceptable syntax. Calling `serializer_instance.is_valid(True)` is no longer acceptable syntax.
If you'd like to use the `raise_exceptions` argument, you must use it as a If you'd like to use the `raise_exception` argument, you must use it as a
keyword argument. keyword argument.
See Pull Request [#7952](https://github.com/encode/django-rest-framework/pull/7952) for more details. See Pull Request [#7952](https://github.com/encode/django-rest-framework/pull/7952) for more details.