django-encrypted-fields icon indicating copy to clipboard operation
django-encrypted-fields copied to clipboard

types has no attribute StringTypes in Python3. Update this to str

Open jamespeacock opened this issue 7 years ago • 1 comments

File "/usr/local/lib/python3.6/site-packages/encrypted_fields/fields.py", line 163, in to_python if value is None or not isinstance(value, types.StringTypes): AttributeError: module 'types' has no attribute 'StringTypes'

jamespeacock avatar Sep 17 '18 19:09 jamespeacock

please fix this asap. I had to manually change it in site-package and I would really love to avoid that.

There are some pending PRs that have this change already

jonathan-chao-artivest avatar Oct 08 '19 14:10 jonathan-chao-artivest