def disconnect_discussion_signals():
 post_save.disconnect(sender=comment_model, dispatch_uid=COMMENT_PS_COUNT_DISCUSSIONS)
 pre_delete.disconnect(sender=comment_model, dispatch_uid=COMMENT_PD_COUNT_DISCUSSIONS)
 comment_was_flagged.disconnect(sender=comment_model, dispatch_uid=COMMENT_WF_COUNT_DISCUSSIONS)
 comment_was_posted.disconnect(sender=comment_model, dispatch_uid=COMMENT_WP_COUNT_COMMENTS)
 pingback_was_posted.disconnect(sender=comment_model, dispatch_uid=PINGBACK_WF_COUNT_PINGBACKS)
 trackback_was_posted.disconnect(sender=comment_model, dispatch_uid=TRACKBACK_WF_COUNT_TRACKBACKS)

def disconnect_discussion_signals ( ) : post_save . disconnect ( sender = comment_model , dispatch_uid = COMMENT_PS_COUNT_DISCUSSIONS ) pre_delete . disconnect ( sender = comment_model , dispatch_uid = COMMENT_PD_COUNT_DISCUSSIONS ) comment_was_flagged . disconnect ( sender = comment_model , dispatch_uid = COMMENT_WF_COUNT_DISCUSSIONS ) comment_was_posted . disconnect ( sender = comment_model , dispatch_uid = COMMENT_WP_COUNT_COMMENTS ) pingback_was_posted . disconnect ( sender = comment_model , dispatch_uid = PINGBACK_WF_COUNT_PINGBACKS ) trackback_was_posted . disconnect ( sender = comment_model , dispatch_uid = TRACKBACK_WF_COUNT_TRACKBACKS )
disconnect all the signals on comment model provided by zinnia .