Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #816 NullBooleanField does not exist in DRF >= 3.14.0 #818

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

Lotram
Copy link
Contributor

@Lotram Lotram commented Sep 22, 2022

As several people noticed, drf-spectacular breaks with DRF 3.14.0, as NullBooleanField does not exist anymore.
This PR only check whether this class exists before trying to use it

@tfranzel tfranzel merged commit 98b4b99 into tfranzel:master Sep 22, 2022
@tfranzel
Copy link
Owner

thx @Lotram for the speedy fix! ❤️

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.

4 participants