django redirect under post statement doesn't work

后端 未结 0 1769
死守一世寂寞
死守一世寂寞 2021-01-20 17:21

This is the exmaple code that works, or any other if statements

def login_page(request):
    if request.user.is_authenticated:
        return redirect(\'home\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题