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

preview_player
Показать описание
Add classes and other attributes to your form fields in Django by using the Django Widget Tweaks library.

Build Better Apps, Faster In Only 4 Minutes👇🏼

💻 Code written in video
Рекомендации по теме
Комментарии
Автор

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

davisouzadeoliveira
Автор

Ty sooo much. Very useful and concise guide!

leaff
Автор

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

rexsybimatrimawahyu
Автор

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

seanraz
Автор

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

fadyghalayiny
Автор

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
Автор

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

サタン-ei
Автор

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

alirezasalimzadeh