Update views.py

Reduced indent on line 168.
Reason: if the deadline already happened, "editing page" was displayed rather than a redirect to the details page.
Merge pull request #44 from CKnotts/patch-28

Update views.py