StudentImport¶
Qualified name: tin.apps.courses.models.StudentImport
- class StudentImport(id, course)[source]¶
Bases:
Model
- Parameters:
id (BigAutoField) – Primary key: ID
Relationship fields:
- Parameters:
course (
OneToOneField
toCourse
) – Course (related name:studentimport
)students (
ManyToManyField
toStudentImportUser
) – Students (related name:users
)
Methods
get_absolute_url
Add usernames to a queue of students to add to a course
Attributes
course
Type:
OneToOneField
toCourse
course_id
Internal field, use
course
instead.id
Type:
BigAutoField
objects
students
Type:
ManyToManyField
toStudentImportUser
- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned