I want to get the main window\'s url(ie. 127.0.01:8000/add_person/N/...) on clicking the delete button in views.py so that on delete it redirects to the same page