parameters: (counter, instance)
return_statement: return '<span class="visit-counter" data-ct="{}" data-pk="{}">{}</span>'\
          .format(ct, instance.pk, counter)
docstring: Helper function - adds data-ct and data-pk to HTML attributes.
docstring_summary: Helper function - adds data-ct and data-pk to HTML attributes.
docstring_tokens: Helper function - adds data - ct and data - pk to HTML attributes .
function: def render_node(counter, instance):
      """
      Helper function - adds data-ct and data-pk to HTML attributes.
      """
      ct = ContentType.objects.get_for_model(instance).pk
      return '<span class="visit-counter" data-ct="{}" data-pk="{}">{}</span>'\
          .format(ct, instance.pk, counter)
function_tokens: def render_node ( counter , instance ) : ct = ContentType . objects . get_for_model ( instance ) . pk return '<span class="visit-counter" data-ct="{}" data-pk="{}">{}</span>' . format ( ct , instance . pk , counter )