<form method="post"> <input type='hidden' name='csrfmiddlewaretoken' value='IDNEQyFNdbwCx6NZJBT8GkuCPxsJvrYY' /> <table> <tr> <td><label for="id_username">Username:</label></td> <td><input id="id_username" maxlength="254" name="username" type="text" /></td> </tr> <tr> <td><label for="id_password">Password:</label></td> <td><input id="id_password" name="password" type="password" /></td> </tr> </table> <input type="submit" value="login" /> <input type="hidden" name="next" value="/refresh" /> </form>