Page 1 of 1

'EncryptedCharField' error while doing django/python upgrade

Posted: Mon Jan 04, 2021 2:38 am
by arya7vikas
I am trying to upgrade my old django application (django 1.1, python 2.7) to latest django3.1 and python3. So created new virtual environment to do this and started installing related packages one by one, and then i encountered this issue: AttributeError: 'EncryptedCharField' object has no attribute 'keydir'. I have installed most of the packages including the crypto ones like cryptography, pycryptodome, encrypted_fields, python3_keyczar, but no luck. Any suggestions!