In the Django property app, we add a route to urls.py to access the new view method:
urlpatterns = [
path('delete/', views.delProperty, name='property_delete'),
# other paths not shown
]
We can then enter this in the browser:
http://chap08.booksomeplace.local/property/delete/
We are then presented with the sub-form, which allows us to choose a partner and property to delete:
After making the desired choices, we are then shown property information and asked to confirm:
We are then returned to the first form, with a success message shown at the bottom.