QuizLogMessage

Qualified name: tin.apps.assignments.models.QuizLogMessage

class QuizLogMessage(*args, **kwargs)[source]

Bases: Model

A log message for an Assignment (with is_quiz set to True)

Parameters:

Relationship fields:

Parameters:

Methods

get_absolute_url

get_next_by_date

Finds next instance based on date.

get_previous_by_date

Finds previous instance based on date.

Attributes

assignment

Type: ForeignKey to Assignment

assignment_id

Internal field, use assignment instead.

content

Type: CharField

date

Type: DateTimeField

id

Type: BigAutoField

objects

severity

Type: IntegerField

student

Type: ForeignKey to User

student_id

Internal field, use student instead.

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned