Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的应用程序中使用 Django 已经有一段时间了。我遇到了用户突然注销的问题。
用户使用管理模型输入信息以在文本区域中输入信息(使用 Django MarkitUp),当他们单击保存时,他们将被重定向到登录页面。
我的会话到期设置为 2 周(1209600),并且用户在同一天登录,然后在 textarea 中输入信息。
您确定您的重定向 URL 与您的会话相关设置匹配吗?