> how to use java script alert from view after sucessfull opreation in view
Simplest way is to set some context variable (a.k.a. "flag") in the
view (e.g. "operation_successful = True") and have a piece of JS code
in your template that runs only when this flag is set, e.g:
{% if operation_successful %}
<script type="javascript">
alert("operation was successful")
</script>
{% endif %}
There is a lot more ways to do this, at some later point you will
probably want to read about AJAX calls.
HTH
Jirka