Django shortcut functions
Django shortcut functions
The package django.shortcuts
collects helper functions and classes that “span” multiple levels of MVC. In other words, these functions/classes introduce controlled coupling for convenience’s sake.
render()
-
render(request, template_name, context=None, content_type=None, status=None, using=None)
[source] -
Combines a given template with a given context dictionary and returns an
HttpResponse
object with t