I've tried running this on Python 3.6 and Django 1.11 and am getting an error where the DetailView is failing because of the error in the title.
Edit: In fact, even the demo isn't working. I'm guessing it's something related to the newer Django version?
Edit 2: It turns out that _get_url was removed from django.db.models.fields.files.FieldFile in 1.11. I've changed your EncryptionMixin class on line 27 of fields.py:
Hey there,
I've tried running this on Python 3.6 and Django 1.11 and am getting an error where the DetailView is failing because of the error in the title.
Edit: In fact, even the demo isn't working. I'm guessing it's something related to the newer Django version?
Edit 2: It turns out that
_get_url
was removed fromdjango.db.models.fields.files.FieldFile
in 1.11. I've changed yourEncryptionMixin
class on line 27 offields.py
:From:
To:
It seems to be working.