Home »
Python »
Django MCQs
How many parameters do render() function take in Django?
22. How many parameters do render() function take in Django?
- 1
- 2
- 3
- 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, {})