Esempio n. 1
0
def register(request):
    ureporter = get_user(request)
    uuid = ureporter.uuid
    if request.method == 'GET':
        return serve_get_response(request, uuid)
    if request.method == 'POST':
        return serve_post_response(request, uuid, ureporter)
def register(request):
    reporter = get_user(request)
    if request.method == 'GET':
        return serve_get_response(request, reporter)
    if request.method == 'POST':
        return serve_post_response(request, reporter)