django-chunked-upload: 'user' field passed to BaseChunkedUpload causes exception
In my code I’ve extended BaseChunkedUpload without adding a user field. If the django request is authenticated, an error is thrown after injecting a user field into the attrs dict here:
https://github.com/juliomalegria/django-chunked-upload/blob/master/chunked_upload/views.py#L184
There should be an extra condition which verifies that a user field exists on self.model before injecting it into attrs.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 26 (2 by maintainers)
Commits related to this issue
- fixes #47 — committed to steverecio/django-chunked-upload by steverecio 6 years ago
- follow-up to #47 — committed to steverecio/django-chunked-upload by steverecio 6 years ago
@GitRon I have a second thought on the naming of the new repo/package. How about django-chunked-upload-2? Yeah, maybe it’s a bit ugly. 😟
I’ve already forked this project. What rights do you need? Collaborator permissions?