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
Records a single check-in event for an attendee at the conference. |
|
Per-product admission tracking for a specific ticket type or add-on. |
|
Tracks redemption of a purchased order line item. |
- class django_program.registration.checkin.CheckIn[source]¶
Bases:
ModelRecords 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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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:
ModelPer-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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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:
ModelTracks redemption of a purchased order line item.
Each attendee can redeem a given order line item up to its purchased
quantitytimes. The business-layer limit is enforced byRedemptionService.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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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.parentis aForwardManyToOneDescriptorinstance.
- 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¶