umutbozkurt/django-rest-framework-mongoengine

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

Opened this issue · 3 comments

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

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.

+1 I need this update too

IATF commented