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

Error using django.core.urlresolvers #7

Closed spaceriqui closed 6 years ago

spaceriqui commented 6 years ago

Hi.

Fairly new at this, so this may be user error. On Django 2.0, the django.core.urlresolvers module is removed in favor of its new location, django.urls.

https://docs.djangoproject.com/en/2.0/releases/2.0/

It appears django-encrypted-filefield is using django.core.urlresolvers in three places:

demo/views.py django_encrypted_filefiled/checks.py and fields.py

Seems to work fine when replaced.

Using Django 2.0.1 and django_encrypted_filefield 0.1.3 on python 3.4.3

danielquinn commented 6 years ago

Ooh, yes thanks for noting this. I'm happy to accept a pull-request (that works for 1.11 as well) if you'd like to contribute, otherwise, I'll try to see to this when I've got some time.

spaceriqui commented 6 years ago

Thank you for the reply. Created pull request #9.

danielquinn commented 6 years ago

Fixed in #9!