DayType_blocks¶
Qualified name: intranet.apps.schedule.models.DayType\_blocks
- class intranet.apps.schedule.models.DayType_blocks(id, daytype, block)¶
Bases:
Model
- Parameters:
id (AutoField) – Primary key: ID
Relationship fields:
- Parameters:
daytype (
ForeignKey
toDayType
) – Daytype (related name:DayType_blocks+
)block (
ForeignKey
toBlock
) – Block (related name:DayType_blocks+
)
Methods
Attributes
block
Type:
ForeignKey
toBlock
block_id
Internal field, use
block
instead.daytype
Type:
ForeignKey
toDayType
daytype_id
Internal field, use
daytype
instead.id
Type:
AutoField
objects