ValueError: Cannot assign “‘2’”
原代码
def regist(request):
msg = ""
if request.method == "POST":
username = request.POST.get('username').strip().lower()
password = request.POST.get('password')
password2 = request.POST.get('password2'