1、准备登录的html

Django-自定义web框架

 

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="icon" href="favicon.ico">
</head>
<body>
<!--提交的位置 点击提交按钮相当于请求了这个网址-->
<form action="http://127.0.0.1:9000/auth" method="get">
    <input type="text" name="username" placeholder="username">
    <input type="password" name="password" placeholder="password">
    <button>提交</button>
</form>
</body>
</html>
登录页面

相关文章:

  • 2021-09-24
  • 2022-01-11
  • 2021-06-01
  • 2021-07-17
  • 2021-06-12
  • 2021-05-23
  • 2022-12-23
  • 2021-07-28
猜你喜欢
  • 2021-05-20
  • 2021-09-15
  • 2021-11-13
相关资源
相似解决方案