parameters: (obj)
return_statement: return '<a href="#" class="abuse-link" data-ct="{}" data-pk="{}">{}</a>'\
          .format(ct.pk, obj.pk, _(u"Report abuse"))
docstring: Creates abuse report link for given object.
docstring_summary: Creates abuse report link for given object.
docstring_tokens: Creates abuse report link for given object .
function: def report_link(obj):
      """
      Creates abuse report link for given object.
      """
      if not obj:
          return False
      ct = ContentType.objects.get_for_model(obj)
      return '<a href="#" class="abuse-link" data-ct="{}" data-pk="{}">{}</a>'\
          .format(ct.pk, obj.pk, _(u"Report abuse"))
function_tokens: def report_link ( obj ) : if not obj : return False ct = ContentType . objects . get_for_model ( obj ) return '<a href="#" class="abuse-link" data-ct="{}" data-pk="{}">{}</a>' . format ( ct . pk , obj . pk , _ ( u"Report abuse" ) )