How to specify the login_required redirect url in django?

后端 未结 7 1266
既然无缘
既然无缘 2020-12-13 23:04

I have a view function:

@login_required
def myview():
    # do something
    # respond something
    pass

How can I specify the exact URL f

7条回答
提交回复
热议问题