Closed sarahboyce closed 2 years ago
There is a new drf release https://www.django-rest-framework.org/community/release-notes/#3140 Here NullBooleanField is no longer available and so I removed the one reference to allow support for drf 3.14.0
NullBooleanField
It was also not required as the isinstance(field, BooleanField) would return true for a NullBooleanFIeld due to object inheritance:
isinstance(field, BooleanField)
NullBooleanFIeld
>>> from rest_framework.fields import NullBooleanField >>> field = NullBooleanField() >>> from rest_framework.fields import BooleanField >>> isinstance(field, BooleanField) True >>>
So I think we should be good :+1:
Thank you for the package :heart: @FlipperPA
Thank you, @sarahboyce - I will take a look at this today.
Thank you @FlipperPA 🎉 Let me know if you need anything from me 👍
Thank you, @sarahboyce!
Thank you! This has been published to PyPI at 2.2.0:
2.2.0
https://github.com/wharton/drf-excel/releases/tag/2.2.0
https://pypi.org/project/drf-excel/2.2.0/
There is a new drf release https://www.django-rest-framework.org/community/release-notes/#3140 Here
NullBooleanField
is no longer available and so I removed the one reference to allow support for drf 3.14.0It was also not required as the
isinstance(field, BooleanField)
would return true for aNullBooleanFIeld
due to object inheritance:So I think we should be good :+1:
Thank you for the package :heart: @FlipperPA