示例#1
0
def login_device(request, raw_user_login):
# This will be for logging into the server from mobile Device
    if request.method == "POST":
        if Mobile_Access.mobile_login(request, raw_user_login):
            HttpResponse("OK")
        else:
            HttpResponse("FAILED")
示例#2
0
def register_device(request, raw_user_form):
# This will be for the creation of a users profile
    if request.method == "POST":
        HttpResponse(Mobile_Access.mobile_register(raw_user_form))