Vitor, I coded for years, read thousands of blogs, and have just one thing to say. You truly are a god among men, your ability to communicate advanced topics in such a simple manner is unmatched and you have very much owned the title of your blog/website. Fellow mortals, worship your overlord by liking this comment.
Hey Victor, just discovered you today to find out how to upload file. Great tutorial, very helpful. What I like about your teaching style is the upfront theory. It helps build a mental model of how the steps piece together. Thank you and keep up the good work!
I was reading your blog from time to time while i was learning Django, Im happy that you have chanel also, your contribution to django comunity and students is awesome! Ty.
Thank you for detailed explanation. It helped a lot in understanding the basics of Django File Upload. The special mention of Media URL from the settings.py really stands out. Keep the same kind of special mentions in the future videos as well. They will help someone out there.
This is my first tutorial in Django. Thanks for making things a little bit easier. I am just new to web development and copied your code for front end.
Thank you so much. I was missing the enctype="multipart/form-data from my form, and that was all. It is an absolutely necessary piece, apparently. I had read through the documentation but somehow I kept overlooking that detail.
Victor just one thing can you make django videos targeting intermediate level. Example when to use AbstractUser vs abstractsBaseUser. And how to use database fixture and how to load too because django documents only teaches how to implement (coding stuff) but it don't say anything about when should you use it( when to use it in real life situations).
I'll start by saying I'm very thankful for Your videos. This toturial series has helped me through my college project concerning dynamic web design and development. It's very efficient and extremely helpful and easy to understand even for a begginer like me. I had tons of fun learning this framework. Well done sir and thanks :)
Would be good to see a tutorial for setting up a payment method for a site, using a credit card. Basically, how to send requests to some service/bank and how to accept a service reply for succesfull payment.
Please make some videos on the authentication and authorization for django. It's so confusing and the proxy models for the user login. Your docs are great on that topics. Hoping for the video for the same. Thank you
if request.method == 'POST' and request.FILES['myfile']: This line should be: if request.method == 'POST' and request.FILES.get('myfile', False): Otherwise one might encounter the MultiValueDictKeyError later. Found it on Vitor's blog. Props to Riverman!
This is my error - 'bool' object has no attribute 'name' My code is below - def upload(request): if request.method == 'POST': uploaded_file = request.FILES.get('document',False) fs = FileSystemStorage() fs.save(uploaded_file.name,uploaded_file) return render(request,'merge_ops/merge_ops.html')
you just don't know, that How much your video helped me😍 firstly.. thankyou sir for this video... this video helped me so much❤❤ ThankYou so much sir..
This is a fantastic video - very straightforward, thank you. The only thing I would have liked is if you included how to have the image appear on the same page, although its not too difficult a task.
Great Vitor! I've been following your blog for a long time! I want to tell you that your posts are objective, that is, straightforward. I want to suggest two things: 1 - inlineformset_factory outside admin. 2 - Generate reports in pdf. 3 - Import and export in excel. I have more suggestions but I think it would be abuse heheheh. Hug.
First of all thank you Vitor, this video helped me a lot. I have a question tho, how can the access the content list in a another function within the same file. I do not want to use models.
Vitor, I coded for years, read thousands of blogs, and have just one thing to say.
You truly are a god among men, your ability to communicate advanced topics in such a simple manner is unmatched and you have very much owned the title of your blog/website.
Fellow mortals, worship your overlord by liking this comment.
After 3 days of grinding the internet for an answer to my problem, you just gave it to me in a few minutes. Thank you very much, I subscribe!
Hey Victor, just discovered you today to find out how to upload file. Great tutorial, very helpful. What I like about your teaching style is the upfront theory. It helps build a mental model of how the steps piece together. Thank you and keep up the good work!
I was reading your blog from time to time while i was learning Django, Im happy that you have chanel also, your contribution to django comunity and students is awesome! Ty.
Thank you Vitor, your tutorials have helped me to grow in Django more so your way of teaching is amazing Thank you
you are a teacher of the 21st century, cool and calm way of teaching. Nice job
.
You are my Life Saver , Respect from Pakistan
Thank you for detailed explanation. It helped a lot in understanding the basics of Django File Upload. The special mention of Media URL from the settings.py really stands out. Keep the same kind of special mentions in the future videos as well. They will help someone out there.
Thanks, This basic tutorial solve one of my major problems during web-based application development.
I've been following your videos recently and the site's tutorials have helped me a lot in some projects... Very high quality content.
Great Video - Simplicity is the ultimate sophistication
Great Vitor, Your Django blog helped me lot. Thank you.
Your way of teaching is amazing, continue the same way
you explain too good , I am just a beginner and your lectures is helping me to elevate my interest in learning django
Parabéns Vitor! ótimo vídeo
The Best Django tutorial ! Thank you for the videos!
Sooooooo thank you! Exactly what I needed and exactly as detailed as i needed.
This is my first tutorial in Django. Thanks for making things a little bit easier. I am just new to web development and copied your code for front end.
Excellent. I have learned so much Django from you! From your videos and website.
The way you explain stuff is so simple to get. Hope you carry on with more vids.
Best tutorial on file upload for Django, Thanks!
I read your articles Vitor. You are amazing!
Fan of your Website. Glad to reach you here
Thank you so much. I was missing the enctype="multipart/form-data from my form, and that was all. It is an absolutely necessary piece, apparently. I had read through the documentation but somehow I kept overlooking that detail.
Thank you Vitor. It's really good to understand how django file works! I really appreciate it!
Victor just one thing can you make django videos targeting intermediate level. Example when to use AbstractUser vs abstractsBaseUser. And how to use database fixture and how to load too because django documents only teaches how to implement (coding stuff) but it don't say anything about when should you use it( when to use it in real life situations).
thanks for the great suggestion! I'll work on it for the future videos :-)
your teaching is very professional.tqq so much for sharing your knowledge.
Explanation with diagram was very good
Great quality video, Your explain are awesome, congratulations.
Your videos are superb. Theu are really helpful. Please do continue with Django
Simple and easy to understand. Great tutorial.
This tutorial clear my concept. Very deeply explained. Please upload more tutorial like this.
Awesome as always. Please continue tutorials on django with advanced concepts.
Thank you a lot, Vitor!
That was a nice tutorial on difficult subject.
You're realy good at explaining stuff.
super super easy and smooth explaining, and super like for you. then thanks to much
Awesome thorough explanation of concepts and implementation. Good job.
Wow !
Aula excelente! Parabéns!
Very good, very clear!
I'll start by saying I'm very thankful for Your videos. This toturial series has helped me through my college project concerning dynamic web design and development. It's very efficient and extremely helpful and easy to understand even for a begginer like me. I had tons of fun learning this framework. Well done sir and thanks :)
Vitor you rock!
First simple is better than complex and now this amazing series on file upload. Thank you :)
hey man, do you have any idea why the base.html on github does not match the one in the video
Great Thank to you sir. I was looking for this solution from long time and finally I got this. love from 2021 new year.....
thank you so much now i can finish my project
Hey, Vitor thank you so much for this tutorial! It was really helpful! And the way you teach is very easy to follow!
Nice, good job! let's continue at the same way. What about uploading to the cloud like Google Drive?
Thank you for this tutorial!
Money Heist Professor teaches coding too!
Great video helped me a lot with my project
Would be good to see a tutorial for setting up a payment method for a site, using a credit card. Basically, how to send requests to some service/bank and how to accept a service reply for succesfull payment.
😍 finally some one here to explain django with flow chart really sir thank you so much ..
Thanks U from south america, hugs
Thank you Vitor, your tutorials are fantastic.
Thank You very much. I found my primary solution here.
nice explanation. Impressed
Hi.. your videos are really valuable. Good work.
Amazing Tutorial. Thanks a lot Victor..
Please make some videos on the authentication and authorization for django. It's so confusing and the proxy models for the user login. Your docs are great on that topics. Hoping for the video for the same. Thank you
Check this playlist on Django authentication I published last week: th-cam.com/video/60GTvKCuam8/w-d-xo.html
Very good tutorial. Thanks Vitor
the best tutorial !
Thank you very much sir! Very nice explaining manner. Helped a lot.
This was very helpful. Thank you.
My django teacher is big fan of yours
This rocks. Really well done. Thank you!
Thank you Vitor! Your videos also help me a lot!
if request.method == 'POST' and request.FILES['myfile']:
This line should be:
if request.method == 'POST' and request.FILES.get('myfile', False):
Otherwise one might encounter the MultiValueDictKeyError later. Found it on Vitor's blog. Props to Riverman!
Thank you Sir, (y)
I actually encountered the error. I updated the code to request.FILES.get('myfiles,False). However now I am getting another error.
This is my error - 'bool' object has no attribute 'name'
My code is below -
def upload(request):
if request.method == 'POST':
uploaded_file = request.FILES.get('document',False)
fs = FileSystemStorage()
fs.save(uploaded_file.name,uploaded_file)
return render(request,'merge_ops/merge_ops.html')
You are really, really good!, thanks!!!!, you save me!
Great video, thanks!
you just don't know, that How much your video helped me😍
firstly.. thankyou sir for this video... this video helped me so much❤❤
ThankYou so much sir..
thank you so much sir thank you so much for making these videos and writing blog posts
This is a fantastic video - very straightforward, thank you. The only thing I would have liked is if you included how to have the image appear on the same page, although its not too difficult a task.
This helped me a lot. Thank you
Thank you Vitor,
That's very good
Your videos are awesome, I came from your website and I like how to make exactly the tutorials I want. :)
So many Thanks For. Very helpful tutorial.
Very helpful stuff. Thank You!
Nice work man...keep going...
Goddamit, this guide is so good and detailed, thank you so much
Than you man, it was very helpful
vlw mano! sempre acompanho seu site e tem me ajudado muito.
Great job Vitor.
Thanks, Emanuel!
it was realy helpful. thank you.
Very very helpful, helped me lot. Thank you.
very easy to learn! Thank you :)
Obrigado pelo seu vídeo, me ajudou bastante
Thank you very much sir, This helped me alot. may god bless you all the way.
Saudações do Brasil! ótimo tutorial, parabéns!
Thank you very much. It helped me.
thank you, good explainations
Great Vitor!
I've been following your blog for a long time!
I want to tell you that your posts are objective, that is, straightforward.
I want to suggest two things:
1 - inlineformset_factory outside admin.
2 - Generate reports in pdf.
3 - Import and export in excel.
I have more suggestions but I think it would be abuse heheheh.
Hug.
thank you very much vitor
nice to meet you Victor
Thanks Vitor!
First of all thank you Vitor, this video helped me a lot. I have a question tho, how can the access the content list in a another function within the same file. I do not want to use models.
Would love to see some tutorials on vue.js and django rest framework!
I'm learning Vue right now, so +1 for Vue + DRF
Helped me a lot. Thank you
Hi Vitor, please would you be covering how to handle audio and video files also in your tutorials of how to upload files ?
Thaks o lot for the lesson!
9:30 handling uploaded files using filesystemstorage
it is really awesome thanks a lot
great video!!!