πŸ“Š Django
Q. Which function is used to return an HTML response in Django?
  • (A) HttpResponse()
  • (B) render_to_string()
  • (C) HTMLResponse()
  • (D) view_response()
πŸ’¬ Discuss
βœ… Correct Answer: (A) HttpResponse()

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
73
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
96%
Success Rate