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

template error #6

Closed hosseinfakhari closed 6 years ago

hosseinfakhari commented 6 years ago

i have this error :

type object 'FieldFile' has no attribute '_get_url'

when i want to display an encrypted image in my template

this is my template code : <img style="width: 150px;" src="{{ obj.image.url }}" alt=""/>

danielquinn commented 6 years ago

Hi @semilanceata this should now be fixed in master. Thanks to #5. I'll update PyPi shortly.