juliomalegria / django-chunked-upload

Upload large files to Django in multiple chunks, with the ability to resume if the upload is interrupted.
MIT No Attribution
214 stars 71 forks source link

user.is_authenticated() throwing exception! #37

Closed tonietuk closed 6 years ago

tonietuk commented 6 years ago

In views.py, the method 'check_permissions' uses user.is_authenticated(). is_authenticated as a function call is no longer supported in Django 2.0, and is throwing an exception. See: https://docs.djangoproject.com/en/2.0/ref/contrib/auth/#django.contrib.auth.models.User.is_authenticated

juliomalegria commented 6 years ago

Fixed with 3f96bd9. I'm about to create a release.

juliomalegria commented 6 years ago

Fix was release in version 1.1.3.