Update views.py

fixed my nooby front "/"'s on redirect/render requests and added a little code to the edit and details methods. 
Merge pull request #19 from CKnotts/patch-9

Update views.py