Skip to content

Fix DRF deprecation warning - #4

Merged
sergei-maertens merged 1 commit into
maykinmedia:mainfrom
c-w:fix-drf314-warning
Feb 14, 2023
Merged

Fix DRF deprecation warning#4
sergei-maertens merged 1 commit into
maykinmedia:mainfrom
c-w:fix-drf314-warning

Conversation

@c-w

@c-w c-w commented Oct 1, 2021

Copy link
Copy Markdown
Contributor

Running pytest in strict mode py.test --strict-markers shows a deprecation warning from Django Rest Framework:

RemovedInDRF314Warning: The `NullBooleanField` is deprecated and will be removed starting with 3.14.
Instead use the `BooleanField` field and set `allow_null=True` which does the same thing.

This pull request fixes the issue by following the migration path suggested by the warning.

@sergei-maertens
sergei-maertens merged commit 349991c into maykinmedia:main Feb 14, 2023
@sergei-maertens

Copy link
Copy Markdown
Member

Thank you, I've incorporated this in #5!

@c-w
c-w deleted the fix-drf314-warning branch February 14, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants