Saturday, March 13, 2021

Re: How to run django-helpdesk in visual studio code or ubuntu 20.04

Ok ,
Thank you so much.

On Sat, Mar 13, 2021 at 5:31 AM Kasper Laudrup <laudrup@stacktrace.dk> wrote:
On 13/03/2021 13.16, Azharul Islam Somon wrote:
> Thank you for your reply. I have set up my MEDIA_ROOT as like :
> MEDIA_ROOT = os.path.join(BASE_DIR,'/static/images')
>
> What should I change, please? 
>

That's up to you to decide, but you don't want it to be the same path as
your static files.

This might help:

https://overiq.com/django-1-10/handling-media-files-in-django/

But there's tons of other documentation on how to handle static files
and media files in Django as well including the official documentation.

I suggest you read up a bit on that to understand what's going on.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/rO8c7AnsvWs/unsubscribe.
To unsubscribe from this group and all its topics, 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/1b0d2fde-8103-9b65-4eb3-92c9a5db2ae3%40stacktrace.dk.

--
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/CAMME6GN2BqGSyh_ULyWDhD3S%2BOXcufpbyArwmiSQasJi4EXeOQ%40mail.gmail.com.

No comments:

Post a Comment