Fix: AttributeError: module ‘rest_framework.serializers’ has no attribute ‘NullBooleanField’
When you are using Django, recently you might be seeing the error ‘AttributeError: module ‘rest_framework.serializers’ has no attribute ‘NullBooleanField’. Below is the snippet for error: Issue is seen because of NullBooleanField has been depreciated from DRF (Django rest Framework) 3.14.0 version recently. To fix the error, downgrade or use the DRF (Djangorestframework) version 3.13.1 using …