django-rest-framework-mongoengine icon indicating copy to clipboard operation
django-rest-framework-mongoengine copied to clipboard

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

Open rajutechie opened this issue 1 year ago • 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

rajutechie avatar Feb 08 '24 11:02 rajutechie

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.

alirafiei75 avatar Mar 02 '24 07:03 alirafiei75

+1 I need this update too

monokbaev avatar Mar 25 '24 05:03 monokbaev

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

IATF avatar Mar 25 '24 05:03 IATF