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.
我有一个 SRCP 和准确的方法,只在执行任务之前对用户进行身份验证。我能够在 Django 中使用基本身份验证登录,但无法在 SRCP 方法中恢复数据请求,例如用户。
我设法使用以下问题的答案检索请求:
Django:如何在查看请求之外获取已登录的用户?