Implements the raffle widget.
Provides the model for the raffle widget.
Number of points required to earn a raffle ticket
Adds a ticket from the user if they have one. Throws an exception if they cannot add a ticket.
Returns the number of tickets allocated to this prize. Takes an optional argument to return the number of tickets allocated by the user.
Removes an allocated ticket.
Raffle ticket model
Returns the number of raffle tickets the user has available.
Return the total tickets available for this user.
Handle rendering of the raffle widget.
Adds a user’s raffle ticket to the prize.
Handle change Round for selected Raffle Prizes from the admin interface.
Sends an email to the user notifying them that they are a winner.
Picks the raffle game winners for the raffle deadline that has passed.
display summary of the winners.
Supply the raffle form.
Generates the raffle prize list and renders to page.
Removes a user’s raffle ticket from the prize.
Supply the view_objects contents, which provides all raffle data.
Raffle widget administration
Change the round for the selected Raffle Prizes.
Copies the selected Raffle Prizes.
return True if the notification had been sent.
return the winner and link to pickup form.