@register.assignment_tag(takes_context=True)
def assignment_params_and_context(context, arg):
 return ('assignment_params_and_context - Expected result (context value: %s): %s' % (context['value'], arg))

@ register . assignment_tag ( takes_context = True ) def assignment_params_and_context ( context , arg ) : return ( 'assignment_params_and_context - Expected result (context value: %s): %s' % ( context [ 'value' ] , arg ) )
expected assignment_params_and_context __doc__ .