Рет қаралды 125,950
In this video I'll show you how to Style a Django Form with Bootstrap.
In the last video (check the playlist in the comments below) we create a form for our blog Post model. But the form didn't have any css styling to make it look good. And since the form was generated automatically with the Django form.as_p tag, we couldn't add any of our own css.
Well actually we can, by creating a form on the backend using a forms.py file and adding widgets to the form that we can then use to import our Bootstrap form-control css.