Ошибки валидатора
Я прогоняю свой код через валидатор, и он возвращается с четырьмя ошибками, которые я не знаю, как исправить, поскольку код был импортирован из django forms.
Кто-нибудь знает, как это исправить?
<div class="form-group">
<form method="POST">
<input type="hidden" name="csrfmiddlewaretoken"
value="0AxrgENq77DUAfiu7a1XIsQ2gveB9bBBO96oqSIrlW5OQxoV8EMCrmIIbAn31wa4">
<p><label for="id_username">Username:</label> <input type="text" name="username" maxlength="150" autofocus
class="form-control" required id="id_username"> <span class="helptext">Required. 150 characters or
fewer. Letters, digits and @/./+/-/_ only.</span></p>
<p><label for="id_first_name">First name:</label> <input type="text" name="first_name" class="form-control"
maxlength="100" required id="id_first_name"></p>
<p><label for="id_last_name">Last name:</label> <input type="text" name="last_name" class="form-control"
maxlength="100" required id="id_last_name"></p>
<p><label for="id_email">Email:</label> <input type="email" name="email" required id="id_email"></p>
<p><label for="id_password1">Password:</label> <input type="password" name="password1"
autocomplete="new-password" class="form-control" required id="id_password1"> <span class="helptext">
<ul>
<li>Your password can’t be too similar to your other personal information.</li>
<li>Your password must contain at least 8 characters.</li>
<li>Your password can’t be a commonly used password.</li>
<li>Your password can’t be entirely numeric.</li>
</ul>
</span></p>
<p><label for="id_password2">Password confirmation:</label> <input type="password" name="password2"
autocomplete="new-password" class="form-control" required id="id_password2"> <span
class="helptext">Enter the same password as before, for verification.</span></p>
<div class="d-grid">
<button class="btn btn-dark ">Register</button>
</div>
</form>