#NEWLINE# @ receiver ( post_save , sender = User ) #NEWLINE# def ensure_settings( sender , instance , created , **kwargs ) : #NEWLINE# #INDENT# CollectionSettings . objects . get_or_create ( user = kwargs )