Q. What does request.user.is_authenticated return?

  • (A) True if user is admin
  • (B) True if user is active
  • (C) True if user is logged in
  • (D) True if user has permission
πŸ’¬ Discuss
βœ… Correct Answer: (C) True if user is logged in
Explanation: request.user.is_authenticated returns True if the user is logged in.
Explanation by: Rakesh Yadav
request.user.is_authenticated returns True if the user is logged in.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
84%
Success Rate