danielquinn / django-encrypted-filefield

Encrypt uploaded files, store them wherever you like and stream them back unencrypted
GNU General Public License v3.0
65 stars 22 forks source link

Django 3 compatibility #14

Closed odelseth closed 4 years ago

odelseth commented 4 years ago

The latest version of Django has removed the six library that is used by django-encrypted-filefield.

See: https://docs.djangoproject.com/en/3.0/releases/3.0/#removed-private-python-2-compatibility-apis django.utils.six - Remove usage of this vendored library or switch to six.

The code in this pull request uses six libray instead of django.utils.six

danielquinn commented 4 years ago

Thanks for posting this, and I'm so sorry it's taken me so long to get around to merging it. I know there's a lot of people who wanted it.

I should mention that I expect that I'll be dropping support for Django 1.11 very soon, switching up to requiring 2.2+ and therefore Python 3.3+.