How to style a django form - bootstrap
问题 I am styling my django app but Iam having trouble styling the forms. I have a contact form, in my forms.py and then I have use it in a template. <form class="form-contact" action="" method="POST"> {% csrf_token %} <input type="text" name="Name" id="id_name" value="{{form.name}}" /> <input type="submit" value="Submit" class="btn btn-primary"> </form> That isn't working. I have also tried this, but still no luck, it shows styled fields but doesn't retrieve the information ( I get a message