.png?h=45b3972ada0deca55919af5e5cf40849)
.png?h=7d26f5b1dea712b18dedc82a98e61e4b)
.png?h=3805cb24ee74231424f1740f9f82aea6)
.png?h=a7368bf93b9a82e42e5cbb2f6306b7d8)
.png?h=4c4a25cede6d2924656358995d45c266)
render( ) Function - It combines a given template with a given context dictionary and returns an HttpResponse object with that rendered text.
Syntax:-
render(request, template_name, context=dict_name, content_type = MIME_type, status=None, using=None)
Where,
request – The request object used to generate this response.
template_name – The full name of a template to use or sequence of template names. If a sequence is given, the first template that exists will be used.
context – A dictionary of values to add to the template context. By default, this is an empty dictionary. If a value in the dictionary is callable, the view will call it just before rendering the template.
content_type – The MIME type to use for the resulting document. Defaults to 'text/html'.
status – The status code for the response. Defaults to 200.
using – The NAME of a template engine to use for loading the template.
.png?h=106f2ed1096f38eb19f9c7e2c93c659e)
.png?h=090a5b3c8dd8a343586528dec2c57c83)
.png?h=221ec2e075c46889512f08774e639f3b)