Closed cscheng closed 7 years ago
I'm so sorry for not responding to this sooner. I can only assume that the message got lost among all of the other GitHub noise I get.
You make all very good points. If you have some code to address this, I'm happy to field a pull request. Otherwise, I'll try to look into this in the near(er) future.
No problem. I have actually moved on to other projects, so I won't have time to contribute with a PR any time soon. Feel free to close this issue.
All patched! Thanks for the suggestion, and for your patience :-)
It's safe to assume that when a user uploads a file that at some point in time this file will be downloaded. However, the system check for this is probably too strict for several reasons:
runserver
will not run at all. This is a bit cumbersome when you want to add theEncryptedFileField
first, and implement the views at a later time.kwargs
for the fetch URL. For example, if you want something like/users/<user_id>/files/<file_id>
this URL cannot be reversed by the check.My suggestion would be to drop the
DEFF_FETCH_URL_NAME
requirement, as an example URL + view in the docs would suffice for most developers.