How to Get Form Data and Validate Data in Django (Hindi)

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 มิ.ย. 2024
  • 00:00 Get Form Data
    01:21 How to send GET Request
    02:37 How to send POST Request
    02:55 Django Form and Field Validation
    03:47 is_valid ( ) Method
    04:20 cleaned_data Attribute
    07:48 Get Django Form Data in Terminal
    Django Playlist:
    • Django (Hindi)
    Core Python Tutorials:
    • Core Python (Hindi)
    Advance Python Tutorials:
    • Advance Python (Hindi)
    HTML Tutorials : goo.gl/O254f9
    CSS Tutorials: goo.gl/1QNdiB
    SQL Tutorials: goo.gl/U4TcEX
    Check Out Our Other Playlists:
    / geekyshow1
    SUBSCRIBE to Learn Programming Language !
    goo.gl/glkZMr
    Learn more about subject:
    www.geekyshows.com/
    ________________________________________________
    If you found this video valuable, give it a like.
    If you know someone who needs to see it, share it.
    If you have questions ask below in comment section.
    Add it to a playlist if you want to watch it later.
    ________________________________________________
    T A L K W I T H M E !
    Business Email: contact@geekyshows.com
    Facebook: / geekyshow
    Twitter: / geekyshow1
    Website: www.geekyshows.com/
    _______________________________________________
    Make sure you LIKE, SUBSCRIBE, COMMENT, and REQUEST A VIDEO! :)
    _______________________________________________

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

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

    Wow!!! Thank you this was really helpful.
    Easy To understand.
    Your way of teaching is so simple I get all the things I wanted to learn.
    Thank you once again

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

    MASHA ALLAH ap ki videos bhot informations hoti hy

  • @FarhanAli-wo6yw
    @FarhanAli-wo6yw ปีที่แล้ว +2

    Awesome video to explain basic to advance concepts by explaining each and every thing in a detailed manner. Thanks Sir🥰🥰🥰🥰🥰🥰🥰🥰 I seriously recommed this learning for beginners like me

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

    Best for me, want more on advanced django. From Bangladesh

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

    Good and very useful content you upload

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

    u r great man...
    thanks alot

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

    so thanks sir for such course

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

    Good nice clean explaination. 👍

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

    You're best brother :)

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

    Awesome sir..

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

    thank you for this sir

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

    Thank you Guruji

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

    Wow!! Thank u

  • @aryanchauhan-jp9ui
    @aryanchauhan-jp9ui 4 ปีที่แล้ว

    Thank uh sir

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

    Thank you so much 💖 sir 👏

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

    Sir could you pls upload a video on how to access images and content in template html file from database

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

    Thnx sir

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

    Sir agar template m maltiple form h or agar hum kese perticular for m post method hit karty h tou view.py kese recognise karega ki yh keska post method h...

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

    जोरदार 📹 sir

  • @RohitKashyap-tg3gz
    @RohitKashyap-tg3gz ปีที่แล้ว

    sir ek doubt hai agr har field input lene ke time pe hi data validate kr rha hai to is_valid() function ka kya use

  • @HarshitGupta-vo5bm
    @HarshitGupta-vo5bm 11 หลายเดือนก่อน +1

    cleaned_data dictionary is_valid() chalane se phle kse ban gya ? u said ki is_valid() ke bad cleaned_data dict form hota hai ?

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

    thanks

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

    sir could you please upload video on how forms works behind the scene (method flow).. Thanks for your valuable efforts..

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

      Read Community Post I answered there

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

    Sir upload more videos in Django plz

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

    Ñice video 👍👍👍

  • @Somnath-je9nd
    @Somnath-je9nd 3 ปีที่แล้ว

    what if i enter only blank spaces using space bar still it will accept form or not

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

    sir is playlist k bad kivy module pr videos bna skte ho app plz

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

    sir signal kaya scene baan raha hein ekbar bata dena...! matlab jab user create kar raha huin tab to koi image field nehi hein....! but mujhe ek profile page chaiye at creation of user how to do that...? using signal...!please sir kuch bhi de dijiye jahase mein kar saku please....!

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

    Sir one more video plz plz plz 🙏🙏🙏

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

    Sir how to active a form in backend in Django?

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

    Sir submit karne k baad firse showformdata() kyu call ho raha hai ? Hamne kuchh specify to nahi kiya submit button me

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

    Sir on submitting the button the date is not getting save why

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

    Sir more video upload please

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

    The view enroll.views.showdata didn't return an HttpResponse object. It returned None instead.
    showing that error how to remove that....🙏

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

    form.errors with bootstrap 4 pe 1 video banao please

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

    There are many vedios on social authentication but no is explaing from scratch...pls make a video on social authentication and also covers Facebook and Google authentication...and it's a request

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

    sir mera if condition nhi chal rha he , please help

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

    my terminal is not showing name and email. why?

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

    Dont get distracted keep on going.

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

    Vai mane bangladesh se bol taho......mane apka html or css ki full course complite kyea hai.....app me kon sa playlist dako......

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

      Js
      SQL
      Python
      Python advance
      Then Django

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

    sir ji terminal me code show ni ho rha

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

    i m using validation error lekin validation error show hi ni ho rha

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

    Bro my form is not loading after clicking

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

    The view enroll.views.Showformdata didn't return an HttpResponse object. It returned None instead.
    sir ye error a rha jb k sb kuch sai sy return krwa rhi hn

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

    phone number validation kese karu?

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

    Where is redirect video

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

    Sir next video??

  • @mhammadsaani
    @mhammadsaani 9 หลายเดือนก่อน

    cleaned_data has been changed to clean only

  • @JaySriRam-qe1xd
    @JaySriRam-qe1xd 4 ปีที่แล้ว +1

    sir database connection

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

      We have already Completed this Concept

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

    This code removes the error: "object has no attribute 'cleaned_data'"
    fm = StudentsRegistration(request.POST)
    if request.method=='POST' and fm.is_valid():
    print("Data got by POST Method")
    else:
    fm=StudentsRegistration()
    print("Data got by GET Method")

    • @mhammadsaani
      @mhammadsaani 9 หลายเดือนก่อน

      cleaned_data has changed to "clean"

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

    I am getting error that cleaned_data is not defined on fm ??
    But the post works perfectly

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

      same pro bro

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

      try this it will work,
      form = register(request.POST)
      if request.method=='POST' and form.is_valid():
      print("its post")
      print(form.cleaned_data)
      else:
      form=register()
      print("its get")
      return render(request,'register.html',{'form':form})

    • @IMRANSHAIKH-ru3mn
      @IMRANSHAIKH-ru3mn 2 ปีที่แล้ว

      check if fm.is_valid: instead of if fm.is_valid()

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

      @@puneethms8352 Thank you so much. It got me 2 days to get out of this error. your code is perfectly working.