Skip to content

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

@jamespeacock

Description

@jamespeacock

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions