johngian/mozmoderator — pull request #1 by jgmize (2014-02-11 05:56:10+00:00)
Title: Add login_url param to login_required decorator

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.