A

Admin • 828.03K Points
Coach

Q. Which function is used to return an HTML response in Django?

  • (A) HttpResponse()
  • (B) render_to_string()
  • (C) HTMLResponse()
  • (D) view_response()
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Django
  • Hashtags:

Explanation by: Admin
HttpResponse() returns raw HTML or plain text content.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.