Q. Which function is used to render templates in Django?

  • (A) load_template()
  • (B) render_template()
  • (C) template()
  • (D) render()
πŸ’¬ Discuss
βœ… Correct Answer: (D) render()
Explanation: `render()` combines a template with a context dictionary and returns an HttpResponse.
Explanation by: Mr. Dubey
`render()` combines a template with a context dictionary and returns an HttpResponse.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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