在搭建報名系統時遇到的django報錯

報錯1: The view sign_up.views.new_user didn't return an HttpResponse object. It returned None instead. views.py代碼 def new_user(request): if request.method != 'POST': form = UserInfoForm()
相關文章
相關標籤/搜索