I have a view function:
@login_required def myview(): # do something # respond something pass
How can I specify the exact URL f
default login url is: '/accounts/login/' if you want to change it then go to settings.py
LOGIN_URL='/path/to/url' LOGIN_REDIRECT_URL='/path/to/redirecturl'