If the issue is managing static files on the server simply installing Django-heroku saved me from all that trouble.

 

Sent from Mail for Windows 10

 

From: Rob Riedlinger
Sent: 21 June 2020 23:40
To: Django users
Subject: Re: Django Uploaded images not displayed in production

 

Check out this video  https://youtu.be/kBwhtEIXGII  Denis talks about why this happens

On Sunday, June 21, 2020 at 7:15:43 PM UTC+2, Anton Nyagolov wrote:

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/33d4c599-135d-45d9-abbc-978e404e4f87o%40googlegroups.com.

 

--
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/A68703DE-32D6-417B-AF0F-64EACA533FE0%40hxcore.ol.

Reply via email to