File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,16 @@ class PublisherSearchView(generics.ListAPIView):
143143
144144---
145145
146+ ## Deprecations
147+
148+ ### ` serializers.NullBooleanField `
149+
150+ ` serializers.NullBooleanField ` is now pending deprecation, and will be removed in 3.14.
151+
152+ Instead use ` serializers.BooleanField ` field and set ` allow_null=True ` which does the same thing.
153+
154+ ---
155+
146156## Funding
147157
148158REST framework is a * collaboratively funded project* . If you use
Original file line number Diff line number Diff line change @@ -60,3 +60,13 @@ See Pull Request [#7522](https://github.com/encode/django-rest-framework/pull/75
6060## Minor fixes and improvements
6161
6262There are a number of minor fixes and improvements in this release. See the [ release notes] ( release-notes.md ) page for a complete listing.
63+
64+ ---
65+
66+ ## Deprecations
67+
68+ ### ` serializers.NullBooleanField `
69+
70+ ` serializers.NullBooleanField ` was moved to pending deprecation in 3.12, and deprecated in 3.13. It has now been removed from the core framework.
71+
72+ Instead use ` serializers.BooleanField ` field and set ` allow_null=True ` which does the same thing.
Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ Date: 28th September 2020
157157* Fix ` PrimaryKeyRelatedField ` and ` HyperlinkedRelatedField ` when source field is actually a property. [ #7142 ]
158158* ` Token.generate_key ` is now a class method. [ #7502 ]
159159* ` @action ` warns if method is wrapped in a decorator that does not preserve information using ` @functools.wraps ` . [ #7098 ]
160+ * Deprecate ` serializers.NullBooleanField ` in favour of ` serializers.BooleanField ` with ` allow_null=True ` [ #7122 ]
160161
161162---
162163
You can’t perform that action at this time.
0 commit comments