The @login_required decorator of Django redirects people to /accounts/login when they aren't registered. How to change this URL?
Add LOGIN_URL = '/login'
to your settings.py
See the docs for more.
Add LOGIN_URL = '/login'
to your settings.py
See the docs for more.