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 hat the redirect would mean the user would be directed back to the create/edit/details page once they were signed in, but it doesn't work that way. This version should be correct. I'll see about the details/edit pages this afternoon.
Merge pull request #29 from CKnotts/patch-18

Update views.py
fixed img in details, static dirs set up (assets and images folders)
Merge pull request #30 from bboland4/master

fixed image on details page and set up static file folders (assets and images)
Merge pull request #6 from schleppington/master

update