A

Admin • 828.03K Points
Coach

Q. What does `request.POST.get('key')` return if the key is not found?

  • (A) None
  • (B) Error
  • (C) 0
  • (D) Empty string
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
`request.POST.get()` returns `None` if the key does not exist.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.