defrex / django-encrypted-fields

This is a collection of Django Model Field classes that are encrypted using Keyczar.
MIT License
193 stars 60 forks source link

changed types.StringType to str and removed some edcode/decodes for u… #23

Closed shawnzam closed 7 years ago

shawnzam commented 8 years ago

I changed isinstance(value, types.StringTypes) to isinstance(value, types.str) and comment out # value = value.encode('unicode_escape') and # value = value.decode('unicode_escape')