Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)