Question: Suppose that a view wishes to pass on a variable to a template, which should display the value of the variable. How should the view

Suppose that a view wishes to pass on a variable to a template, which should display the value of the variable. How should the view do this? Select one: Call the HttpResponseRedirect function, passing the template name and the variable name. Call the request function, passing the render object, the template name and the variable name. Call the render function, passing the request object, the template name and a context dictionary containing the variable name and its value. O Call the HttpResponse function, passing the template name and the variable name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
