@@ -170,8 +170,8 @@ class Command(BaseCommand):
inv.Product,
("name", "category",),
category=self.ticket,
name="Contributor",
price=Decimal("1999.00"),
name=settings.CONTRIBUTOR.name,
price=settings.CONTRIBUTOR.regular_price,
reservation_duration=hours(24),
order=1,
)
@@ -179,8 +179,8 @@ class Command(BaseCommand):
name="Professional",
price=Decimal("999.00"),
name=settings.PROFESSIONAL.name,
price=settings.PROFESSIONAL.regular_price,
order=10,
@@ -188,8 +188,8 @@ class Command(BaseCommand):
name="Hobbyist",
price=Decimal("449.00"),
name=settings.HOBBYIST.name,
price=settings.HOBBYIST.regular_price,
order=20,
@@ -197,8 +197,8 @@ class Command(BaseCommand):
name="Student",
price=Decimal("149.00"),
name=settings.STUDENT.name,
price=settings.STUDENT.regular_price,
order=30,
@@ -206,8 +206,8 @@ class Command(BaseCommand):
name="Monday and Tuesday Only",
price=Decimal("198.00"),
name=settings.MINICONF_MT.name,
price=settings.MINICONF_MT.regular_price,
order=40,
@@ -215,8 +215,8 @@ class Command(BaseCommand):
name="Monday Only",
price=Decimal("99.00"),
name=settings.MINICONF_M.name,
price=settings.MINICONF_M.regular_price,
order=42,
@@ -224,8 +224,8 @@ class Command(BaseCommand):
name="Tuesday Only",
order=44,
@@ -233,8 +233,8 @@ class Command(BaseCommand):
name="Speaker",
price=Decimal("00.00"),
name=settings.SPEAKER.name,
price=settings.SPEAKER.regular_price,
order=50,
@@ -242,8 +242,8 @@ class Command(BaseCommand):
name="Media",
name=settings.MEDIA.name,
price=settings.MEDIA.regular_price,
order=60,
@@ -251,8 +251,8 @@ class Command(BaseCommand):
name="Sponsor",
name=settings.SPONSOR.name,
price=settings.SPONSOR.regular_price,
order=70,
@@ -260,8 +260,8 @@ class Command(BaseCommand):
name="Conference Organiser",
name=settings.CONFERENCE_ORG.name,
price=settings.CONFERENCE_ORG.regular_price,
order=80,
@@ -269,8 +269,8 @@ class Command(BaseCommand):
name="Conference Volunteer",
name=settings.CONFERENCE_VOL.name,
price=settings.CONFERENCE_VOL.regular_price,
order=90,
@@ -292,9 +292,9 @@ class Command(BaseCommand):
category=self.penguin_dinner,
name="Adult",
description="Includes an adult's meal and full beverage service.",
price=Decimal("95.00"),
name=settings.PENGUIN_DINNER_ADULT.name,
description=settings.PENGUIN_DINNER_ADULT.description,
price=settings.PENGUIN_DINNER_ADULT.price,
reservation_duration=hours(1),
@@ -302,9 +302,9 @@ class Command(BaseCommand):
name="Child",
description="Children 14 and under. Includes a child's meal and soft drink service.",
price=Decimal("50.00"),
name=settings.PENGUIN_DINNER_CHILD.name,
description=settings.PENGUIN_DINNER_CHILD.description,
price=settings.PENGUIN_DINNER_CHILD.price,
@@ -312,9 +312,9 @@ class Command(BaseCommand):
name="Infant",
description="Includes no food or beverage service.",
name=settings.PENGUIN_DINNER_INFANT.name,
description=settings.PENGUIN_DINNER_INFANT.description,
price=settings.PENGUIN_DINNER_INFANT.price,
@@ -694,7 +694,7 @@ class Command(BaseCommand):
("discount", "product"),
discount=discount,
product=self.ticket_contributor,
price=Decimal("150.00"),
price=settings.CONTRIBUTOR.regular_price - settings.CONTRIBUTOR.earlybird_price,
quantity=1, # Per user
self.find_or_make(
@@ -702,7 +702,7 @@ class Command(BaseCommand):
product=self.ticket_professional,
price=settings.PROFESSIONAL.regular_price - settings.PROFESSIONAL.earlybird_price,
@@ -729,7 +729,7 @@ class Command(BaseCommand):
discount=early_bird_hobbyist_discount,
product=self.ticket_hobbyist,
price=Decimal("100.00"),
price=settings.HOBBYIST.regular_price - settings.HOBBYIST.earlybird_price,