How can customise the return script tag alert function in python flask
return \'alert("notification deleted");window.location="/View_Notification"