A

Admin • 833.24K Points
Coach

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
  • Correct Answer - Option(C)
  • Views: 25
  • Filed under category Django
  • Hashtags:

Explanation by: Admin

request.user.is_authenticated returns True if the user is logged in.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.