Q. What does the render function return in Django views?

  • (A) HTML file path
  • (B) JSON object
  • (C) HttpResponse object
  • (D) Template object
πŸ’¬ Discuss
βœ… Correct Answer: (C) HttpResponse object
Explanation: render returns an HttpResponse object with the rendered template.
Explanation by: Mr. Dubey
render returns an HttpResponse object with the rendered template.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate