django-aesfield icon indicating copy to clipboard operation
django-aesfield copied to clipboard

'memoryview' object has no attribute 'startswith'

Open Jam-Iko opened this issue 1 year ago • 0 comments

Hey I am using a similar code for a custom field and wondering if you had the issue with AttributeError: 'memoryview' object has no attribute 'startswith' The problem is with methods from_db_value and to_python where .startswith is used to check if aes_prefix is set. I'm wondering if you knew how to overcome this issue? Thanks!

Jam-Iko avatar Aug 12 '23 09:08 Jam-Iko