@receiver(post_save, sender=User)
def user_post_save_callback(sender, **kwargs):
 user = kwargs['instance']
 emit_field_changed_events(user, user, sender._meta.db_table, excluded_fields=['last_login', 'first_name', 'last_name'], hidden_fields=['password'])

@ receiver ( post_save , sender = User ) def user_post_save_callback ( sender , ** kwargs ) : user = kwargs [ 'instance' ] emit_field_changed_events ( user , user , sender . _meta . db_table , excluded_fields = [ 'last_login' , 'first_name' , 'last_name' ] , hidden_fields = [ 'password' ] )
emit analytics events after saving the user .