umutbozkurt / django-rest-framework-mongoengine

Mongoengine support for Django Rest Framework
MIT License
616 stars 167 forks source link

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

Open rajutechie opened 7 months ago

rajutechie commented 7 months ago

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 commented 6 months ago

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.

monokbaev commented 5 months ago

+1 I need this update too

IATF commented 5 months ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。