S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which method is used to redirect users to another URL in Django views?

  • (A) redirect()
  • (B) move()
  • (C) forward()
  • (D) goto()
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category Django
  • Hashtags:

Explanation by: Shyam Dubey
redirect() is used to return an HttpResponseRedirect to a different URL.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.