Applying bootstrap styles to django forms
问题 I want to use bootstrap to get a decent website design, unfortunately I don't know how style the form fields. I am talking about this: <form class="form-horizontal" method="POST" action="."> {% csrf_token %} {{ form.title.label }} {{ form.title }} </form> How is one supposed to design this?? I tried this: <form class="form-horizontal" method="POST" action="."> {% csrf_token %} <div class="form-control"> {{ form.title.label }} {{ form.title }} </div> </form> This obviously didn't gave me the