def follow_url(parser, token):
 bits = token.split_contents()
 if (len(bits) != 2):
  raise TemplateSyntaxError('Accepted format {% follow_url [instance] %}')
 else:
  return DisplayActivityFollowUrl(bits[1])

def follow_url ( parser , token ) : bits = token . split_contents ( ) if ( len ( bits ) != 2 ) : raise TemplateSyntaxError ( 'Accepted format {% follow_url [instance] %}' ) else : return DisplayActivityFollowUrl ( bits [ 1 ] )
renders the url of the follow view for a particular actor instance <a href="{% follow_url other_user %}"> {% if request .