dj_angles.templatetags.view

Module Contents

dj_angles.templatetags.view.logger
class dj_angles.templatetags.view.ViewNode(parsed_function, context_variable_name)

Bases: dj_angles.templatetags.call.CallNode

render(context)

Execute the function with the provided arguments and stores the results in context.

dj_angles.templatetags.view.do_view(parser, token) ViewNode

Parses the token to get all the pieces needed to call the view.

Parameters:
  • parser – The template parser.

  • token – The token to parse.

Returns:

The view node.

Return type:

ViewNode