Пример #1
0
def recovery_change_view(request):
    return HttpResponse(
        recovery_change(
            parse_request(request).get('username'),
            parse_request(request).get('token'),
            parse_request(request).get('newPassword'),
            parse_request(request).get('repeatNewPassword')))
Пример #2
0
def change_info_view(request):
    return HttpResponse(
        change_info(request.user,
                    parse_request(request).get('name'),
                    parse_request(request).get('surname'),
                    parse_request(request).get('patronymic'),
                    parse_request(request).get('email')))
Пример #3
0
def delete_project_active_views(request):
    return HttpResponse(delete_project_active(
        parse_request(request).get('id')))
Пример #4
0
def edit_note_project_active_views(request):
    return HttpResponse(
        edit_note_project_active(
            parse_request(request).get('id'),
            parse_request(request).get('Note')))
Пример #5
0
def edit_start_end_project_active_views(request):
    return HttpResponse(
        edit_start_end_project_active(
            parse_request(request).get('id'),
            parse_request(request).get('Start'),
            parse_request(request).get('End')))
Пример #6
0
def add_date_project_active_views(request):
    return HttpResponse(
        add_date_project_active(
            parse_request(request).get('id'),
            parse_request(request).get('date'), request.user))
Пример #7
0
def start_project_active_views(request):
    return HttpResponse(start_project_active(parse_request(request).get('id')))
Пример #8
0
def recovery_view(request):
    return HttpResponse(recovery(parse_request(request).get('username')))
Пример #9
0
def change_password_view(request):
    return HttpResponse(
        change_password(request.user,
                        parse_request(request).get('newPassword'),
                        parse_request(request).get('repeatNewPassword')))