django_program.registration.checkin

On-site check-in and product redemption models for conference registration.

Provides models for tracking attendee check-ins at the conference venue, per-product door checks (tutorials, meals, events), and product redemption to prevent double-use of purchased items.

Classes

CheckIn

Records a single check-in event for an attendee at the conference.

DoorCheck

Per-product admission tracking for a specific ticket type or add-on.

ProductRedemption

Tracks redemption of a purchased order line item.

class django_program.registration.checkin.CheckIn[source]

Bases: Model

Records a single check-in event for an attendee at the conference.

Multiple check-ins per attendee are allowed to support re-entry scenarios (e.g. leaving for lunch and returning). Each record captures who performed the check-in and at which station.

attendee

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

conference

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

checked_in_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

checked_in_by

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

station

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

note

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

attendee_id
checked_in_by_id
conference_id
get_next_by_checked_in_at(*, field=<django.db.models.fields.DateTimeField: checked_in_at>, is_next=True, **kwargs)
get_previous_by_checked_in_at(*, field=<django.db.models.fields.DateTimeField: checked_in_at>, is_next=False, **kwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
class django_program.registration.checkin.DoorCheck[source]

Bases: Model

Per-product admission tracking for a specific ticket type or add-on.

Used for checking attendees into sub-events such as tutorials, meals, or social events that require separate admission control beyond the main conference check-in.

attendee

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

ticket_type

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

addon

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

conference

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

checked_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

checked_by

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

station

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

addon_id
attendee_id
checked_by_id
conference_id
get_next_by_checked_at(*, field=<django.db.models.fields.DateTimeField: checked_at>, is_next=True, **kwargs)
get_previous_by_checked_at(*, field=<django.db.models.fields.DateTimeField: checked_at>, is_next=False, **kwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
ticket_type_id
class django_program.registration.checkin.ProductRedemption[source]

Bases: Model

Tracks redemption of a purchased order line item.

Each attendee can redeem a given order line item up to its purchased quantity times. The business-layer limit is enforced by RedemptionService.redeem_product() with row-level locking; no unique constraint exists at the DB level so that quantity > 1 items can produce multiple redemption rows.

attendee

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

order_line_item

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

conference

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

redeemed_at

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

redeemed_by

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

Child.parent is a ForwardManyToOneDescriptor instance.

note

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

exception DoesNotExist

Bases: ObjectDoesNotExist

exception MultipleObjectsReturned

Bases: MultipleObjectsReturned

attendee_id
conference_id
get_next_by_redeemed_at(*, field=<django.db.models.fields.DateTimeField: redeemed_at>, is_next=True, **kwargs)
get_previous_by_redeemed_at(*, field=<django.db.models.fields.DateTimeField: redeemed_at>, is_next=False, **kwargs)
id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
order_line_item_id
redeemed_by_id