#NEWLINE# def ready( self ) : #NEWLINE# #INDENT# 'Initialisation for django-ddp (setup lookups and signal handlers).' #NEWLINE# signals . pre_migrate . connect ( self . on_pre_migrate ) #NEWLINE# signals . post_migrate . connect ( self . on_post_migrate ) #NEWLINE# signals . pre_delete . connect ( self . on_pre_change ) #NEWLINE# signals . pre_save . connect ( self . on_pre_change ) #NEWLINE# signals . post_save . connect ( self . on_post_save ) #NEWLINE# signals . post_delete . connect ( api_provider . on_post_delete ) #NEWLINE# signals . m2m_changed . connect ( self . on_m2m_changed ) #NEWLINE# for api_provider in self . api_providers : #NEWLINE# #INDENT# api_provider . ready ( )