Sorry, I misunderstood your problem. But can you also show your views.py. Also your path to MEDIA_ROOT is obfuscated. I used MEDIA_ROOT = os.path.join(BASE_DIR, 'media'). I thing this shall be sufficient to do for a try. Sent from Mail for Windows 10 From: Anton Nyagolov Thanks I will check out the group too for future reference and etc. Those images are uploaded to a database and are part of a model. I iterate through all the object and for each object I print some information including the images, therefore I cannot specify only one specific image. I use admin so I can add my (new future) projects and only by admin they should be able to display automatically on my website with all the information and structure required. Do you sugest changing the value of the imageField (upload_to="static/<appname>/my_desired_path) ? -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/C64216E4-101F-4398-8264-9499B18F82C2%40hxcore.ol. |
- Django Uploaded images not displayed in production Anton Nyagolov
- RE: Django Uploaded images not displayed in producti... Vishesh Mangla
- Re: Django Uploaded images not displayed in prod... Anton Nyagolov
- RE: Django Uploaded images not displayed in ... Vishesh Mangla
- Re: Django Uploaded images not displayed in ... Rob Riedlinger
- RE: Django Uploaded images not displayed... Vishesh Mangla
- Re: Django Uploaded images not disp... MUGOYA DIHFAHSIH
- Re: Django Uploaded images not displayed in producti... Anton Nyagolov
- Re: Django Uploaded images not displayed in prod... MUGOYA DIHFAHSIH