The @login_required decorator of Django redirects people to /accounts/login when they aren't registered. How to change this URL?
LOGIN_REDIRECT_URL = '/login' will solve your problem. 
LOGIN_URL = '/login' is just for telling django that '/login' is your login URL and LOGIN_REDIRECT_URL will tell django where to redirect user after login.
I want it to redirect to "/login" instead of "/accounts/login"
Is there a setting I can change?