EighthWaitlist¶
Qualified name: intranet.apps.eighth.models.EighthWaitlist
- class intranet.apps.eighth.models.EighthWaitlist(id, created_time, last_modified_time, time, user, block, scheduled_activity)[source]¶
Bases:
AbstractBaseEighthModel
- Parameters:
id (AutoField) – Primary key: ID
created_time (DateTimeField) – Created time
last_modified_time (DateTimeField) – Last modified time
time (DateTimeField) – Time
Relationship fields:
- Parameters:
user (
ForeignKey
toUser
) – User (related name:eighthwaitlist
)block (
ForeignKey
toEighthBlock
) – Block (related name:eighthwaitlist
)scheduled_activity (
ForeignKey
toEighthScheduledActivity
) – Scheduled activity (related name:eighthwaitlist_set
)
Methods
get_next_by_time
Finds next instance based on
time
.get_previous_by_time
Finds previous instance based on
time
.Attributes
block
Type:
ForeignKey
toEighthBlock
block_id
Internal field, use
block
instead.id
Type:
AutoField
objects
scheduled_activity
Type:
ForeignKey
toEighthScheduledActivity
scheduled_activity_id
Internal field, use
scheduled_activity
instead.time
Type:
DateTimeField
user
Type:
ForeignKey
toUser
user_id
Internal field, use
user
instead.