Update views.py

Added a delete option to the edit view.