How to Easily Style Your Django Form Fields With Django Widget Tweaks

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 19

  • @mrmuranga
    @mrmuranga 2 роки тому +1

    short and well explained..thanks

  • @leaff807
    @leaff807 7 місяців тому

    Ty sooo much. Very useful and concise guide!

  • @davisouzadeoliveira9830
    @davisouzadeoliveira9830 Рік тому

    Ty bro, i relly needed this knowlege to make my project. Thanks!

  • @MolinMay
    @MolinMay 2 місяці тому

    thanks a lot, that was a life saver

  • @rexsybimatrimawahyu3292
    @rexsybimatrimawahyu3292 3 місяці тому

    Thanks for your knowledge, is it possible for you one day to cover about django crispy forms?

  • @yetanothername1131
    @yetanothername1131 2 роки тому +4

    Straight to the point, thanks!

  • @FabioRibeiro-mu4ok
    @FabioRibeiro-mu4ok 4 місяці тому

    Thank you so much for share!!!

  • @sherklan
    @sherklan 10 місяців тому

    Increible so good , thanks bro

  • @seanraz
    @seanraz Рік тому +1

    Just wondering about error handling. Will the errors appear underneath the fields? Or is there a widget-tweaks thing for that?

  • @mrendus
    @mrendus 2 роки тому +1

    Do you preffer this method of styling forms in django or maybe you more like creating normal html form with id="{{ form.x.id_for_label }}"?

    • @mrendus
      @mrendus 2 роки тому

      In my opinion second method is better because it doesn't need any 3rd packages and it looks easier for juniors

    • @prettyprinted
      @prettyprinted  2 роки тому +1

      I prefer the first because it still follows the pattern of letting Django generate the form fields. But I think the second approach is just fine, and yeah you're right it's more obvious what's going on in the second.

  • @FabioRibeiro-mu4ok
    @FabioRibeiro-mu4ok 4 місяці тому

    Thanks!

  • @fadyghalayiny2825
    @fadyghalayiny2825 2 роки тому

    hi thanks for this great video have a problem with date field, I need to show date field with custom format d-m-Y I did not see it in the documentation

  • @floriskruger8098
    @floriskruger8098 Рік тому

    thanks ma dude

  • @サタン-e7i
    @サタン-e7i Рік тому

    Can I use this line " class+=' ' " to add a class name and style it with CSS??

  • @alirezasalimzadeh9137
    @alirezasalimzadeh9137 Рік тому

    How can we show errors or add new errors with widget-tweaks?

  • @pmaxAnonymous
    @pmaxAnonymous 3 місяці тому

    It was useful