I have a django view which has simple form with key value pair.
I have made the fields non editable. I'm providing a edit button which will open a new window dialog and there i will load the same form in editable view and provide option to save or add new rows to form.
When user clicks on save on second window i want it to close and initial parent view to be refreshed with new values of the form.
I have never done this so I would appreciate if someone helps me understand on how to achieve this.