I have a view function:
@login_required def myview(): # do something # respond something pass
How can I specify the exact URL f
this from documentation should be helpful: https://docs.djangoproject.com/en/1.5/topics/auth/default/#the-login-required-decorator
@login_required(login_url='/accounts/login/') def my_view(request): ...