Beispiel #1
0
                    departmentName='Computer Science and Engineering',
                    school_id='SETS')
dept.save()

# Program

prog = Program_T(programID='BSc',
                 programName='Bachelor of Science',
                 department_id='CSE')
prog.save()

# Faculty

faculty = Faculty_T(facultyID='1234',
                    fname='Mahady',
                    lname='Hasan',
                    department_id='CSE',
                    gender='h')
faculty.save()

# Course

for i in datalist:
    course = Course_T(courseID=i[1], program_id='BSc', noOfCredits=3)
    course.save()

# Sections
sections = []
for i in datalist:
    if i[2] not in sections:
        sections.append(i[2])
Beispiel #2
0
# dept = Department_T(departmentID='CSE', departmentName='Computer Science and Engineering', school_id='SETS')
# dept.save()

# Program

# prog = Program_T(programID='BSc', programName='Bachelor of Science', department_id='CSE')
# prog.save()

courseNameAll = 'CSE201'
semesterNo = '3'
yearNo = '2019'
# Faculty
facultyIDNum = '1236'
faculty = Faculty_T(facultyID=facultyIDNum,
                    fname='Habib',
                    lname='Muzaffar',
                    department_id='CSE',
                    gender='f')
faculty.save()

# Course

# for i in datalist:
#     course = Course_T(courseID=i[1], program_id='BSc', noOfCredits=3)
#     course.save()
course = Course_T(courseNameAll, program_id='BSc', noOfCredits=3)
course.save()

# Sections
sections = []
for i in datalist:
Beispiel #3
0
# dept = Department_T(departmentID='CSE', departmentName='Computer Science and Engineering', school_id='SETS')
# dept.save()

# Program

# prog = Program_T(programID='BSc', programName='Bachelor of Science', department_id='CSE')
# prog.save()

courseNameAll = 'CSE204'
semesterNo = '2'
yearNo = '2019'
# Faculty
facultyIDNum = '1237'
faculty = Faculty_T(facultyID=facultyIDNum,
                    fname='Raihan',
                    lname='Rafique',
                    department_id='CSE',
                    gender='m')
faculty.save()

# Course

# for i in datalist:
#     course = Course_T(courseID=i[1], program_id='BSc', noOfCredits=3)
#     course.save()
course = Course_T(courseNameAll, program_id='BSc', noOfCredits=3)
course.save()

# Sections
sections = []
for i in datalist:
Beispiel #4
0
# Department

# dept = Department_T(departmentID='CSE', departmentName='Computer Science and Engineering', school_id='SETS')
# dept.save()


# Program

# prog = Program_T(programID='BSc', programName='Bachelor of Science', department_id='CSE')
# prog.save()


# Faculty

faculty = Faculty_T(facultyID='4321', fname='Asif', lname='Khaled', department_id='CSE', gender='m')
faculty.save()


# Course

# for i in datalist:
#     course = Course_T(courseID=i[1], program_id='BSc', noOfCredits=3)
#     course.save()
course = Course_T('CSE101', program_id='BSc', noOfCredits=3)
course.save()


# Sections
sections = []
for i in datalist:
Beispiel #5
0
# dept = Department_T(departmentID='CSE', departmentName='Computer Science and Engineering', school_id='SETS')
# dept.save()

# Program

# prog = Program_T(programID='BSc', programName='Bachelor of Science', department_id='CSE')
# prog.save()

courseNameAll = 'CSE203'
semesterNo = '1'
yearNo = '2020'
# Faculty
facultyIDNum = '1237'
faculty = Faculty_T(facultyID=facultyIDNum,
                    fname='Mahbubur',
                    lname='Rahman',
                    department_id='CSE',
                    gender='m')
faculty.save()

# Course

# for i in datalist:
#     course = Course_T(courseID=i[1], program_id='BSc', noOfCredits=3)
#     course.save()
course = Course_T(courseNameAll, program_id='BSc', noOfCredits=3)
course.save()

# Sections
sections = []
for i in datalist:
Beispiel #6
0
# Department

# dept = Department_T(departmentID='CSE', departmentName='Computer Science and Engineering', school_id='SETS')
# dept.save()


# Program

# prog = Program_T(programID='BSc', programName='Bachelor of Science', department_id='CSE')
# prog.save()


# Faculty

faculty = Faculty_T(facultyID='1235', fname='Ajmiri', lname='Khan', department_id='CSE', gender='f')
faculty.save()


# Course

# for i in datalist:
#     course = Course_T(courseID=i[1], program_id='BSc', noOfCredits=3)
#     course.save()
course = Course_T('CSE104', program_id='BSc', noOfCredits=3)
course.save()


# Sections
sections = []
for i in datalist: