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.