How to return errors from post request in django CBV.I want to render errors to html page . it is possible?

后端 未结 0 1591
自闭症患者
自闭症患者 2021-01-22 01:38
class LoginView(View): 

    def get(self,request):        
        return render(request,\'new_login.html\',{})

    def post(self,request):
        email = request.POS         


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