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

AttributeError: module 'rest_framework.fields' has no attribute 'NullBooleanField' #299

Open
rajutechie opened this issue Feb 8, 2024 · 3 comments

Comments

@rajutechie
Copy link

Getting the attribute error

File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\rest_framework_mongoengine\serializers.py", line 639, in build_standard_field
    field_class = drf_fields.NullBooleanField
AttributeError: module 'rest_framework.fields' has no attribute 'NullBooleanField'

Django==5.0.1
django-rest-framework-mongoengine==3.4.1
djangorestframework==3.14.0

The NullBooleanField is deprecated and will be removed starting with djangorestframework 3.14.0

@alirafiei75
Copy link

i have the same issue. it looks like there is an open pull request for this issue #298 . please merge it as soon as possible.

@ChyngyzMonokbaev
Copy link

+1 I need this update too

@IATF
Copy link

IATF commented Mar 25, 2024 via email

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

No branches or pull requests

4 participants