Files @ 539fa2dfdd2b
Branch filter:

Location: symposion_app/pinaxcon/raffle/apps.py

Joel Addison
Finalise registration

Add shirt types and sizes. Improve messaging about discounts.
Restyle ticket wizard and product category screens. Enable page titles
and messages. Update dashboard to hide raffle.
Enable inventory population for dev container.
from django.apps import AppConfig


class RaffleConfig(AppConfig):
    name = "pinaxcon.raffle"
    label = "pinaxcon_raffle"
    verbose_name = "Pinaxcon Raffle"
    admin_group_name = "Raffle admins"

    def ready(self):
        import pinaxcon.raffle.signals
    
    def get_admin_group(self):
        from django.contrib.auth.models import Group

        group, created = Group.objects.get_or_create(name=self.admin_group_name)
        return group