StudentImport

Qualified name: tin.apps.courses.models.StudentImport

class StudentImport(id, course)[source]

Bases: Model

Parameters:

id (BigAutoField) – Primary key: ID

Relationship fields:

Parameters:

Methods

get_absolute_url

queue_users

Add usernames to a queue of students to add to a course

Attributes

course

Type: OneToOneField to Course

course_id

Internal field, use course instead.

id

Type: BigAutoField

objects

students

Type: ManyToManyField to StudentImportUser

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

queue_users(usernames)[source]

Add usernames to a queue of students to add to a course