Skip to content

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

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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