User model
- class models.user.User(email, name)[source]
A user of the EMF website
User objects are usually created when a user purchases a ticket or submits a proposal to the Call for Participation.
- email_state: Mapped[EmailStatus][source]
Whether the user’s email address has been verified or bounced
- checkin_note: Mapped[str | None][source]
A note shown to the entrance volunteer when this person is checked in
- promo_opt_in: Mapped[bool][source]
Whether the user has opted in to receive promotional emails after this event
- purchases: Mapped[list[Purchase]][source]
All purchases which this user has made (which may have been transferred to another user)
- owned_admission_tickets: Mapped[list[AdmissionTicket]][source]
Admission tickets owned by this user
- get_owned_tickets(paid=None, type=None)[source]
Get tickets owned by a user, filtered by type and payment state.
- Return type:
Iterable[Ticket]
- issue_cfp_voucher()[source]
Issue a CfP voucher to the user - this voucher is for a maximum of 2 adult tickets, minus the number of adult tickets the user already holds.
If the voucher has already been issued, it will be extended.
- Return type:
None