How to use something like a logout required in django views?

前端 未结 0 1768
独厮守ぢ
独厮守ぢ 2020-12-13 18:27

I have a login and sign_up view like this:

def sign_up(request):
    form = UserCreationForm()
    registered = False 
    if request.method == \'POST\':
             


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