Update views.py

Without a login_url this redirects to the default, "/accounts/login", which results in a 404. Ideally there would be a view that captures the "next" param and redirects the user back to the URL they were attempting to visit, but this should work in the meantime.