Hi. Here's a very nice video tutorial on how to handle images with media.
https://www.youtube.com/watch?v=FdVuKt_iuSI&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p&index=8
Also to your question on how to deploy it in production, check this video.
https://www.youtube.com/watch?v=Sa_kQheCnds&list=PL-osi
Try to use subfolder in media, upload_to='/images'
On Fri, 17 Jul 2020, 7:18 am Exactly musty,
wrote:
> I also had the same problem long time ago I remember i felt like hanging
> myself,here is what I did, i deleted the media folder,created by django,
> try this if it will work
>
> --
> You re
I also had the same problem long time ago I remember i felt like hanging
myself,here is what I did, i deleted the media folder,created by django, try
this if it will work
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from thi
Hi Mottaz,
Thank you for your suggestion. We already tried a model with ImageField but
not luck yet. Here is our code snippet
image = models.ImageField(upload_to='media',
> null=True, blank=True) image2 = models.ImageField(upload_to='media',
> null=True, blank=True) image3 = models.ImageField(upl
You need a model with ImageField or FileField
On Thu, 16 Jul 2020, 7:07 am Ram, wrote:
> Hi,
>
> We need to save images posted by our application users and the images will
> be displayed in application UI once they are saved successfully. We are
> trying with these parameters in our settings.py
Hi,
We need to save images posted by our application users and the images will
be displayed in application UI once they are saved successfully. We are
trying with these parameters in our settings.py but they are not working
and our OS platform is Windows 10 OS. We know file paths are different in
6 matches
Mail list logo