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 the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1b0d2fde-8103-9b65-4eb3-92c9a5db2ae3%40stacktrace.dk.

