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.
Ajaxログインフォームを作ろうとしています。django.contrib.auth.authenticateajax投稿からのユーザー名とパスワードを渡すことで、ユーザーを認証できます。しかし、実際のセッションとcsrfを設定して、その後の呼び出しでrequest.userでユーザーを取得できるようにするにはどうすればよいですか?
django.contrib.auth.authenticate
ありがとう