Hi there,
I had a question, and I could not find anything on google.
For my website, I would like to make it possible for users to download certain files, but only if they are the owner of those files (which I can check through views and comparing the owner of the instance of the model with the request). However, I am not quite sure how to handle this in my web setup. Most StackOverflow posts say that you should not serve files through Django in production, but I don't think it is possible for us to change a nginx/apache/wsgi file to setup this secure download scheme on pythonanywhere?
Anyone have any idea? :)