如下图中:注册页面中当点击登录应该展示出登录页面:
# 登录 - 业务:根据用户名、密码查询用户对象,对比是否正确 - 实现:django.contrib.auth.autheticate()
1
2
3
4
5