def get_form_target():
 if ((get_comment_app_name() != DEFAULT_COMMENTS_APP) and hasattr(get_comment_app(), 'get_form_target')):
  return get_comment_app().get_form_target()
 else:
  return urlresolvers.reverse('django.contrib.comments.views.comments.post_comment')

def get_form_target ( ) : if ( ( get_comment_app_name ( ) != DEFAULT_COMMENTS_APP ) and hasattr ( get_comment_app ( ) , 'get_form_target' ) ) : return get_comment_app ( ) . get_form_target ( ) else : return urlresolvers . reverse ( 'django.contrib.comments.views.comments.post_comment' )
returns the target url for the comment form submission view .