Update views.py

fixed my nooby front "/"'s on redirect/render requests and added a little code to the edit and details methods.