Fix views.py for pages
Fix broken coverphoto change.