Update views.py

The error I had last night was because I had not returned the redirect statement for the login check. I was hoping the redirect would load the signin page and allow the user to login, then once the user is successfully logged in, they'd be directed back to the create/edit/details page, but it doesn't work that way. This version should be correct. I'll see about the details and edit pages this afternoon.