code: def _disconnect_user_post_save_for_migrations(self, sender, **kwargs):  # pylint: disable=unused-argument
          
          from django.db.models.signals import post_save
          post_save.disconnect(sender=self.auth_user_model, dispatch_uid=USER_POST_SAVE_DISPATCH_UID)
docs: Handle pre_migrate signal - disconnect User post_save handler.