Комментарии:
Hey Caleb thank you so much for the video! I am having a small problem on my end. When I determine the path of the files in the upload_to arg it doesn't save into the stores files unless i specifically say stores/images but when I do that the GET looks in stores/stores/images
I could just move the file over after it uploads to the file outside of the stores files but Im just curious what I am doing wrong.
When I select choose file in the django admin to upload the image nothing happens 😟😟😟 I’ve been stuck here for hours, can’t find the error
ОтветитьBruh!!!!!!
This is exactly what i needed.. God Bless You.
error: type object Movie has no attribute object
AttributeError
Please help
Eres el mejor, enserio me ayudaste con algo que me tenía horas ocupado, gracias
ОтветитьOh man, that was so clear and simple. Imgs were always a bit confusing for me when it comes to Django. I'm definitely donating some $ once I'm not broke :D
ОтветитьСпасибо, ты меня спас!!!
ОтветитьClear and good explanation , Thanks❤
ОтветитьThank You veru much!!!!
You realy help me to do this on my own
IMPORTANT!! DO NOT USE THIS IN PRODUCTION. THIS IS UNSAFE.
People can view your whole code.
Great for debugging. But NOT for production. This is NOT the "correct" way.
Thank you, my image was not showing but I had the model set as featured_image so {{ post.featured_image.url}} got it for me
ОтветитьThank you So Much for this Video. You are a lifesaver.
ОтветитьHi,
How is it to make ImageField() as optional where user is given the option to Upload or NOT to upload the image. I have been having problem to do just that on Django DRF APIView.
Thank you for the video. May I know what VSCode extension are you using that prompt you with the Django imports tool tips?
ОтветитьGreat T-Shirt :)
ОтветитьGreat tutorial! Thank you!
p.s. could you show the same uploading image functionality, but to get an image from outer URL (from internet)? or maybe just give me an idea..
The only place where I found answer how to make it :) Thanks a lot!
Ответитьthanks 😘
ОтветитьBro can u also do video of capturing a image(through laptop camera) and storing it Django please
ОтветитьThanks heaps for this Caleb
ОтветитьMEDIA_ROOT = ""
MEDIA_URL = os.path.join(MEDIA_ROOT, "/")
That worked for me.
Hi Caleb,
Can you do a video on future of django, I've heard that web 3.0 is taking over web 2.0. I mean block chain technology.
Is that really true ? Will django become unneeded?
From freecodecamp (database design course)
Ответитьfirst and supporter!
Ответить