2024-05-18 05:52:21 发布
网友
我需要为每个访问者设置临时用户模型,其中访问者显然是由会话数据绑定的。在
我可能不知道,但是Django支持将数据附加到匿名用户吗?在
我目前知道的唯一方法是使用请求对象的会话字典部分。在
非常感谢您的帮助!在
看看django-lazysignup
django-lazysignup is a package designed to allow users to interact with a site as if they were authenticated users, but without signing up. At any time, they can convert their temporary user account to a real user account.
django-lazysignup
看看django-lazysignup
相关问题 更多 >
编程相关推荐