Skip to content

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

@rajutechie

Description

@rajutechie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions