Section

Qualified name: intranet.apps.users.models.Section

class intranet.apps.users.models.Section(*args, **kwargs)[source]

Bases: Model

Represents a section - a class with teacher, period, and room assignments

NOTE: This model is no longer used because of privacy reasons.

Parameters:

Relationship fields:

Parameters:

Reverse relationships:

Parameters:

_students (Reverse ManyToManyField from UserProperties) – All students of this section (related name of _schedule)

Methods

Attributes

course

Type: ForeignKey to Course

course_id

Internal field, use course instead.

id

Type: AutoField

objects

period

Type: IntegerField

room

Type: CharField

section_id

Type: CharField

sem

Type: CharField

teacher

Type: ForeignKey to User

teacher_id

Internal field, use teacher instead.