Introduction - Django File Upload Tutorial - Part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ธ.ค. 2024

ความคิดเห็น • 212

  • @CrafterLuke
    @CrafterLuke 5 ปีที่แล้ว +3

    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.

  • @sizu257
    @sizu257 2 ปีที่แล้ว +1

    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!

  • @Mydad-et1el
    @Mydad-et1el 4 ปีที่แล้ว +13

    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!

  • @mladenmilosavljevic6449
    @mladenmilosavljevic6449 4 ปีที่แล้ว +2

    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.

  • @switluvsangel
    @switluvsangel 3 ปีที่แล้ว

    you are a teacher of the 21st century, cool and calm way of teaching. Nice job
    .

  • @samuelf7592
    @samuelf7592 6 ปีที่แล้ว +7

    Thank you Vitor, your tutorials have helped me to grow in Django more so your way of teaching is amazing Thank you

  • @KiranGhanta
    @KiranGhanta 4 ปีที่แล้ว +1

    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.

  • @uadsonfeitosa748
    @uadsonfeitosa748 3 ปีที่แล้ว

    I've been following your videos recently and the site's tutorials have helped me a lot in some projects... Very high quality content.

  • @fivemins_stories
    @fivemins_stories 3 ปีที่แล้ว

    You are my Life Saver , Respect from Pakistan

  • @himanshusuthar7158
    @himanshusuthar7158 5 ปีที่แล้ว

    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.

  • @mehwishroohan253
    @mehwishroohan253 4 ปีที่แล้ว

    Your way of teaching is amazing, continue the same way

  • @iFunktion
    @iFunktion 4 ปีที่แล้ว

    The way you explain stuff is so simple to get. Hope you carry on with more vids.

  • @mohanarangam_nature
    @mohanarangam_nature 6 ปีที่แล้ว +9

    Great Vitor, Your Django blog helped me lot. Thank you.

  • @mohiniupasani5691
    @mohiniupasani5691 4 ปีที่แล้ว

    you explain too good , I am just a beginner and your lectures is helping me to elevate my interest in learning django

  • @GauravKumar-xv5rp
    @GauravKumar-xv5rp 3 ปีที่แล้ว

    Thanks, This basic tutorial solve one of my major problems during web-based application development.

  • @jackmintt
    @jackmintt 4 ปีที่แล้ว

    Excellent. I have learned so much Django from you! From your videos and website.

  • @azharpatel7364
    @azharpatel7364 4 ปีที่แล้ว

    Great Video - Simplicity is the ultimate sophistication

  • @DanielLee-et4sk
    @DanielLee-et4sk 4 ปีที่แล้ว

    Best tutorial on file upload for Django, Thanks!

  • @matang1094
    @matang1094 4 ปีที่แล้ว

    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 :)

  • @tajrianbintajahid7561
    @tajrianbintajahid7561 3 ปีที่แล้ว +1

    Wow !

  • @khadimhusen
    @khadimhusen 5 ปีที่แล้ว

    This tutorial clear my concept. Very deeply explained. Please upload more tutorial like this.

  • @striking_village
    @striking_village 3 ปีที่แล้ว

    😍 finally some one here to explain django with flow chart really sir thank you so much ..

  • @jaecheokkim99
    @jaecheokkim99 4 ปีที่แล้ว

    Thank you Vitor. It's really good to understand how django file works! I really appreciate it!

  • @ВасилийЗорин-з2в
    @ВасилийЗорин-з2в ปีที่แล้ว

    Sooooooo thank you! Exactly what I needed and exactly as detailed as i needed.

  • @aungzinpyae8606
    @aungzinpyae8606 4 ปีที่แล้ว

    The Best Django tutorial ! Thank you for the videos!

  • @yadneshsalvi4364
    @yadneshsalvi4364 5 ปีที่แล้ว

    Vitor you rock!
    First simple is better than complex and now this amazing series on file upload. Thank you :)

    • @jackpaperhands
      @jackpaperhands 5 ปีที่แล้ว

      hey man, do you have any idea why the base.html on github does not match the one in the video

  • @rangabharath4253
    @rangabharath4253 4 ปีที่แล้ว

    Awesome as always. Please continue tutorials on django with advanced concepts.

  • @sumitkawale9878
    @sumitkawale9878 3 ปีที่แล้ว

    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..

  • @swamy4494
    @swamy4494 4 ปีที่แล้ว

    your teaching is very professional.tqq so much for sharing your knowledge.

  • @endorfineater
    @endorfineater 3 ปีที่แล้ว

    Fan of your Website. Glad to reach you here

  • @flamingflamingo4021
    @flamingflamingo4021 4 ปีที่แล้ว

    Simple and easy to understand. Great tutorial.

  • @excaliburhead
    @excaliburhead 5 ปีที่แล้ว +1

    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.

  • @АнтонНазарук-щ5с
    @АнтонНазарук-щ5с 2 ปีที่แล้ว

    Thank you a lot, Vitor!
    That was a nice tutorial on difficult subject.
    You're realy good at explaining stuff.

  • @neotank874
    @neotank874 3 ปีที่แล้ว

    I read your articles Vitor. You are amazing!

  • @algerchenlavernkordom3151
    @algerchenlavernkordom3151 4 ปีที่แล้ว

    Awesome thorough explanation of concepts and implementation. Good job.

  • @leonardodonascimento1858
    @leonardodonascimento1858 4 ปีที่แล้ว +1

    Parabéns Vitor! ótimo vídeo

  • @tahsinhawa1769
    @tahsinhawa1769 4 ปีที่แล้ว

    Your videos are superb. Theu are really helpful. Please do continue with Django

  • @Gigolas88
    @Gigolas88 5 ปีที่แล้ว +2

    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!

    • @paulocarsten9216
      @paulocarsten9216 5 ปีที่แล้ว

      Thank you Sir, (y)

    • @rohitsomani924
      @rohitsomani924 3 ปีที่แล้ว

      I actually encountered the error. I updated the code to request.FILES.get('myfiles,False). However now I am getting another error.

    • @rohitsomani924
      @rohitsomani924 3 ปีที่แล้ว

      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')

  • @kaustavsengupta8757
    @kaustavsengupta8757 6 ปีที่แล้ว +14

    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).

    • @vitorfs
      @vitorfs  6 ปีที่แล้ว +5

      thanks for the great suggestion! I'll work on it for the future videos :-)

  • @samirboro1493
    @samirboro1493 4 ปีที่แล้ว

    Great Thank to you sir. I was looking for this solution from long time and finally I got this. love from 2021 new year.....

  • @thegaribovv
    @thegaribovv 3 ปีที่แล้ว

    Explanation with diagram was very good

  • @anirudhsrivastava5011
    @anirudhsrivastava5011 3 ปีที่แล้ว +3

    Money Heist Professor teaches coding too!

  • @arnoldcoto2065
    @arnoldcoto2065 3 ปีที่แล้ว

    Great quality video, Your explain are awesome, congratulations.

  • @fernandoabreu1305
    @fernandoabreu1305 3 ปีที่แล้ว

    Hey, Vitor thank you so much for this tutorial! It was really helpful! And the way you teach is very easy to follow!

  • @rbmdesenvolvimento
    @rbmdesenvolvimento 3 ปีที่แล้ว +2

    Aula excelente! Parabéns!

  • @neatpolygons8500
    @neatpolygons8500 4 ปีที่แล้ว

    Your videos are awesome, I came from your website and I like how to make exactly the tutorials I want. :)

  • @systemsdeveloper8888
    @systemsdeveloper8888 ปีที่แล้ว

    super super easy and smooth explaining, and super like for you. then thanks to much

  • @EliasPaiFilho
    @EliasPaiFilho 5 ปีที่แล้ว

    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.

  • @keremvatandas
    @keremvatandas 5 ปีที่แล้ว

    Thank you Vitor, your tutorials are fantastic.

  • @madmak_41
    @madmak_41 6 ปีที่แล้ว +2

    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.

  • @cristianogasparoli7168
    @cristianogasparoli7168 4 ปีที่แล้ว

    Very good, very clear!

  • @naomij011
    @naomij011 3 ปีที่แล้ว

    the best tutorial !

  • @mclovin816
    @mclovin816 4 ปีที่แล้ว

    Great video helped me a lot with my project

  • @dmitriykuznetsov4464
    @dmitriykuznetsov4464 4 ปีที่แล้ว

    Thank you very much sir! Very nice explaining manner. Helped a lot.

  • @unluckydude8882
    @unluckydude8882 ปีที่แล้ว

    thank you so much now i can finish my project

  • @lokeshkatikireddi1924
    @lokeshkatikireddi1924 4 ปีที่แล้ว

    Hi.. your videos are really valuable. Good work.

  • @matthewbillman4485
    @matthewbillman4485 4 ปีที่แล้ว

    This rocks. Really well done. Thank you!

  • @m.yoganrajyogan8797
    @m.yoganrajyogan8797 5 ปีที่แล้ว

    Nice work man...keep going...

  • @harperjmusic
    @harperjmusic 5 ปีที่แล้ว +2

    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.

  • @subhankarmajumder4335
    @subhankarmajumder4335 4 ปีที่แล้ว

    Thank You very much. I found my primary solution here.

  • @akshaykathpal
    @akshaykathpal 6 ปีที่แล้ว +3

    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

    • @vitorfs
      @vitorfs  6 ปีที่แล้ว +5

      Check this playlist on Django authentication I published last week: th-cam.com/video/60GTvKCuam8/w-d-xo.html

  • @emanuelgabriel2597
    @emanuelgabriel2597 6 ปีที่แล้ว +1

    Great job Vitor.

    • @vitorfs
      @vitorfs  6 ปีที่แล้ว

      Thanks, Emanuel!

  • @aakashthorve6428
    @aakashthorve6428 ปีที่แล้ว

    My django teacher is big fan of yours

  • @I_like_this_sports_tv
    @I_like_this_sports_tv 4 ปีที่แล้ว

    Amazing Tutorial. Thanks a lot Victor..

  • @manishasingh5293
    @manishasingh5293 3 ปีที่แล้ว

    nice explanation. Impressed

  • @andrewko22
    @andrewko22 6 ปีที่แล้ว +8

    Nice, good job! let's continue at the same way. What about uploading to the cloud like Google Drive?

  • @UpscaleHD
    @UpscaleHD 4 ปีที่แล้ว

    vlw mano! sempre acompanho seu site e tem me ajudado muito.

  • @TheSoftwareServices
    @TheSoftwareServices 4 ปีที่แล้ว

    Thank you very much sir, This helped me alot. may god bless you all the way.

  • @marlon.garcia
    @marlon.garcia 6 ปีที่แล้ว

    Thank you Vitor! Your videos also help me a lot!

  • @regular67
    @regular67 6 หลายเดือนก่อน

    Thank you for this tutorial!

  • @jackagolli5305
    @jackagolli5305 4 ปีที่แล้ว

    This was very helpful. Thank you.

  • @cormacio100
    @cormacio100 3 ปีที่แล้ว

    Very good tutorial. Thanks Vitor

  • @mdahanaf
    @mdahanaf 5 ปีที่แล้ว

    So many Thanks For. Very helpful tutorial.

  • @AP-eh6gr
    @AP-eh6gr 4 ปีที่แล้ว

    This helped me a lot. Thank you

  • @kindersurprise5164
    @kindersurprise5164 3 ปีที่แล้ว

    Great video, thanks!

  • @dubey_ji
    @dubey_ji 4 ปีที่แล้ว

    thank you so much sir thank you so much for making these videos and writing blog posts

  • @camiloninguem495
    @camiloninguem495 2 ปีที่แล้ว

    Thanks U from south america, hugs

  • @ezankacou8616
    @ezankacou8616 5 ปีที่แล้ว

    Very helpful stuff. Thank You!

  • @ValenteFV
    @ValenteFV 4 ปีที่แล้ว

    nice to meet you Victor

  • @illiayershov977
    @illiayershov977 2 ปีที่แล้ว

    Goddamit, this guide is so good and detailed, thank you so much

  • @minhthongnguyen6254
    @minhthongnguyen6254 5 ปีที่แล้ว

    Very very helpful, helped me lot. Thank you.

  • @positivemindalways
    @positivemindalways 5 ปีที่แล้ว

    excellent work

  • @magnoslima2314
    @magnoslima2314 5 ปีที่แล้ว

    Saudações do Brasil! ótimo tutorial, parabéns!

  • @oscaraguilar9122
    @oscaraguilar9122 2 ปีที่แล้ว

    You are really, really good!, thanks!!!!, you save me!

  • @chharsha4932
    @chharsha4932 4 ปีที่แล้ว

    9:30 handling uploaded files using filesystemstorage

  • @samuelf7592
    @samuelf7592 6 ปีที่แล้ว

    Hi Vitor, please would you be covering how to handle audio and video files also in your tutorials of how to upload files ?

  • @hamedmolaei
    @hamedmolaei 4 ปีที่แล้ว

    Than you man, it was very helpful

  • @josephjeanclaude123
    @josephjeanclaude123 3 ปีที่แล้ว

    Thank you Vitor,
    That's very good

  • @psh95king
    @psh95king 5 ปีที่แล้ว

    very easy to learn! Thank you :)

  • @abinashmandal7925
    @abinashmandal7925 2 ปีที่แล้ว

    great lecture

  • @origindevelopdev18
    @origindevelopdev18 4 ปีที่แล้ว

    it was realy helpful. thank you.

  • @daniel_caron
    @daniel_caron 6 ปีที่แล้ว +2

    Would love to see some tutorials on vue.js and django rest framework!

    • @Skaxarrat
      @Skaxarrat 6 ปีที่แล้ว

      I'm learning Vue right now, so +1 for Vue + DRF

  • @nirmalkumarthangaveluvijay1769
    @nirmalkumarthangaveluvijay1769 4 ปีที่แล้ว

    great video!!!

  • @Abumregha
    @Abumregha 4 ปีที่แล้ว

    great work, thank you, is there a way to make the admin view the file "say it is only one page file' in the same page? not a download link

  • @manikantakallakuri3194
    @manikantakallakuri3194 3 ปีที่แล้ว

    excellent boss..

  • @MiguelDuffy
    @MiguelDuffy 3 ปีที่แล้ว

    Thanks Vitor!

  • @damien.gravelle
    @damien.gravelle 4 ปีที่แล้ว

    thank you, good explainations

  • @prabeshguragain4463
    @prabeshguragain4463 4 ปีที่แล้ว

    Helped me a lot. Thank you

  • @TheYoungFactor
    @TheYoungFactor 2 ปีที่แล้ว

    What is the significance of the DEBUG mode option? Can I keep it when I deploy my project? What does it do exactly?

    • @vitorfs
      @vitorfs  2 ปีที่แล้ว +1

      It is used to help during the development process. You can do all sort of things, like inspect raw SQL queries and see detailed error messages when your application raise a 500 exception. You should never run a production site using DEBUG=True because it will leak a lot of sensitive information about your application which can lead to serious security issues

  • @techworldbasics9268
    @techworldbasics9268 5 ปีที่แล้ว

    Thank you very much. It helped me.