Exemplo n.º 1
0
def change_mentor_password():
    """
    Change mentor password
    """

    title = 'Modify password'
    task = ['Provide new password']
    instances_manager.modify_person_details(Mentor.mentor_list, 'password',
                                            title, task)
Exemplo n.º 2
0
def change_mentor_name():
    """
    Change mentor name
    """

    title = 'Modify name'
    task = ['Provide new name']
    instances_manager.modify_person_details(Mentor.mentor_list, 'name', title,
                                            task)
Exemplo n.º 3
0
def change_mentor_email():
    """
    Change mentor email
    """

    title = 'Modify email'
    task = ['Email']
    instances_manager.modify_person_details(Mentor.mentor_list, 'email', title,
                                            task)
Exemplo n.º 4
0
def change_student_name():
    """
    Change student name
    """

    title = 'Modify name'
    task = ['Provide new name']
    instances_manager.modify_person_details(Student.student_list, 'name',
                                            title, task)
Exemplo n.º 5
0
def change_student_email():
    """
    Change student email
    """

    title = 'Modify email'
    task = ['Email']
    instances_manager.modify_person_details(Student.student_list, 'email',
                                            title, task)
Exemplo n.º 6
0
def change_student_password():
    """
    Change student password
    """

    title = 'Modify password'
    task = ['Provide new password']
    instances_manager.modify_person_details(Student.student_list, 'password',
                                            title, task)