Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

make raffle availability event specific #233

Description

@jandd

Is your feature request related to a problem? Please describe.
Currently the website shows the "take part in the raffle" checkbox for all events that are not ended. The raffle availability should be a configurable flag for an event instead.

Describe the solution you'd like

  • Add a new boolean field "raffle_available" to the Event model
  • add database migration to add the field with default value of "false" to existing events
  • modify event.models.Event.is_raffle_available to check for the value of this flag
  • add/modify tests

Describe alternatives you've considered
Just ignore the checkbox value on attendee entries if there is no raffle planned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions