我正在为我的web应用程序使用django和mysql。我的应用程序可以工作,但我无法维护登录会话。在主页上每次查询后,它会将我重定向到登录页面。原因是我没有使用django用户身份验证系统,而是在里面编写了自己的身份验证代码。I am a newbie to the py syntax and web dev on it and confused about how to implement Django user authand save my info in the Mysql database s