Hi Giovanni,
On 31/08/2020 19.12, Giovanni Silva wrote:
> Dear Kasper,
>
> this is part of my code...
>
So you probably just need to ensure that the user running your Django
code has write access to BASE_DIR / media.
Now it's up to you to figure out who that user is, what that path is and
ensure the that path has the proper owner and permissions.
I personally wouldn't be afraid to add some print statements to the
deployed code for "dirty debugging" in cases like this, but that
definitely depends on you and your usecase.
Kind regards,
Kasper Laudrup