Monday, August 31, 2020

Re: Premission Denied - Apache

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

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0a23563c-9632-f50f-c5d6-a38a5e51d436%40stacktrace.dk.

No comments:

Post a Comment