Update views.py

Added a delete option to the edit view.
Merge pull request #58 from CKnotts/patch-38

Update views.py