def init_widgets():
 post_save.connect(_increment_sync_num, sender=Group)
 post_save.connect(_increment_sync_num, sender=Repository)
 post_delete.connect(_increment_sync_num, sender=Group)
 post_delete.connect(_increment_sync_num, sender=Repository)

def init_widgets ( ) : post_save . connect ( _increment_sync_num , sender = Group ) post_save . connect ( _increment_sync_num , sender = Repository ) post_delete . connect ( _increment_sync_num , sender = Group ) post_delete . connect ( _increment_sync_num , sender = Repository )
initialize the widgets subsystem .