How many parameters do render() function take in Django?

22. How many parameters do render() function take in Django?

  1. 1
  2. 2
  3. 3
  4. 4

Answer: C) 3

Explanation:

Th render() function takes 3 parameters, which are request, template, and context_dictionary. Consider the below syntax –

render(request, template, {})

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.