from django.shortcuts import render,HttpResponse

# Create your views here.

def login(request):
    if(request.method == 'POST'):
        print("login...")
        return HttpResponse("登录成功!")
    return render(request,"authenticate/login2.html")

def registered(request):
    if(request.method == "POST"):
        print("registered...")
        return HttpResponse("注册成功！")
    return render(request,"authenticate/registered2.html")

def passwdReset(request):
    if(request.method == "POST"):
        print("reset ...")
        return HttpResponse("重置成功!")
    return render(request,"authenticate/passwdReset2.html")

from django.shortcuts import render,HttpResponse

# Create your views here.

def login(request):
    if(request.method == 'POST'):
        print("login...")
        return HttpResponse("登录成功!")
    return render(request,"authenticate/login2.html")

def registered(request):
    if(request.method == "POST"):
        print("registered...")
        return HttpResponse("注册成功！")
    return render(request,"authenticate/registered2.html")

def passwdReset(request):
    if(request.method == "POST"):
        print("reset ...")
        return HttpResponse("重置成功!")
    return render(request,"authenticate/passwdReset2.html")

# Create your views here.