def METHOD_NAME(self, commit=True):
    if (
        commit
        and self._original_avatar
        and (self._original_avatar != self.cleaned_data["avatar"])
    ):
        # Call delete() on the storage backend directly, as calling self._original_avatar.delete()
        # will clear the now-updated field on self.instance too
        try:
            self._original_avatar.storage.delete(self._original_avatar.name)
        except OSError:
            # failure to delete the old avatar shouldn't prevent us from continuing
            warnings.warn(
                "Failed to delete old avatar file: %s" % self._original_avatar.name
            )
    super().METHOD_NAME(commit=commit)