How to use Django Forms

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ส.ค. 2024
  • Learn how to use Django forms to let Django do all the heavy lifting and automatically write HTML form elements for you. By extending the ModelForm and rendering it in your template from context, we can display the entire form or element by element.
    Next video: Django CRUD • How to do CRUD in Django
    Previous video: Django Context • How to Make Django Pag...
    The entire Django course playlist is available here: • How to Make a Website ...
    Code snippets and more at tonyteaches.te...
    Check out my vlog channel ‪@TonyFlorida‬
    GitHub commit for this video: github.com/ton...

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

  • @exoZelia
    @exoZelia 10 หลายเดือนก่อน +8

    You know the tutorial is gonna pop off when he uses Vim

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

    That vim scene 😮

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

    Please make videos about Bootstrap to combone with Django.
    Can we use Bootstrap in Django?
    Thanks

    • @tomahocbc8228
      @tomahocbc8228 11 หลายเดือนก่อน

      I agree and without crispy forms we want something native

    • @exoZelia
      @exoZelia 10 หลายเดือนก่อน +2

      Boostrap is a front end framework, Django is a back end framework. They work well together. There's plenty of Django tutorials that cover it but it's so common they aren't usually in the headlines. It's not as hard as you might be thinking to bring them together, you got this!

  • @SandeepThapa-w3q
    @SandeepThapa-w3q หลายเดือนก่อน

    what is your recording setup?

  • @junartagulao6063
    @junartagulao6063 7 หลายเดือนก่อน

    Hi, what font are you using in your terminal? Thanks

  • @yousifabdalaziz6679
    @yousifabdalaziz6679 3 หลายเดือนก่อน

    lesson learned : you can write a better code in the kitchen

  • @syrym_the_professor
    @syrym_the_professor 9 หลายเดือนก่อน +1

    Instructions aren't clear, how the empty context = {} passes 2:05

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

      dictionary object 'context' is not empty. Observe it is getting added with values (key and values to be precise in the next few lines). For example: in context dictionary, 'title' : 'home' is a value

  • @shivamalk.k4971
    @shivamalk.k4971 6 หลายเดือนก่อน

    Uses vim
    Me he is a wizard