class AuthenticationForm(forms.Form):
username = forms.CharField(max_length=254)
password = forms.CharField(label=_("Password"), widget=forms.PasswordInput)
form = AuthenticationForm(request.POST) #передаю в форму POST запросы, можно и GET и вообще все что угодно.
if AuthenticationForm.is_valid(): # если форма прошла валидацию, то делаем что то
pass
<form action="/" method="post">
<label for="email">Email</label>
<input type="text" name="email" placeholder="Email"/>
<label for="password">Password</label>
<input type="password" name="password" placeholder="Password"/>
<label for="remember">
<input type="checkbox" name="remember" checked/>
Remember
</label>
<input type="hidden" name="csrf" value="token ..."/>
<input type="submit" name="go" class="btn btn-success"/>
</form>
<form role="form">
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<div class="form-group">
<label for="exampleInputFile">File input</label>
<input type="file" id="exampleInputFile">
<p class="help-block">Example block-level help text here.</p>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Check me out
</label>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>