Django Tutorial - Add Crispy Forms To Our App

preview_player
Показать описание
In this Django tutorial, we install Crispy Forms app to help with styling our Django forms.
Рекомендации по теме
Комментарии
Автор

For those getting confused - if you are getting duplicate forms, like I was - there is a weird mismatch in Crispy Form's current version where adding the {% crispy form form.helper %} at the beginning is actually triggering the form twice. Put that down on line 13 in place of what he puts, and remove it from the header!

Otherwise - great tutorial, I've been following so far!

obeygrey
Автор

The form needs an email label somewhere. I think you can put it inside the input box with crispy forms. Hopefully this will be fixed in a future tutorial.

davidbrown
Автор

Thanks, helped me learn as a first timer

xtremehunta
Автор

I think it would've helped if you had shown loading in the form in your view and url files. And shown how Meta class works in your model.

FRacingFans
Автор

whate is this error/ OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '<frozen importlib._bootstrap>'

kabahblog
Автор

Great work,
where is the code about Mater code? I did't found in git repository

frankybonanno