diff --git a/src/utils/management/commands/bootstrap-devsite.py b/src/utils/management/commands/bootstrap-devsite.py index ed9420a4..7d04cfda 100644 --- a/src/utils/management/commands/bootstrap-devsite.py +++ b/src/utils/management/commands/bootstrap-devsite.py @@ -17,6 +17,9 @@ from program.models import ( Speaker, EventLocation ) +from tickets.models import ( + TicketType +) from teams.models import Team, TeamArea, TeamMember from django.contrib.auth.models import User from allauth.account.models import EmailAddress @@ -200,6 +203,20 @@ class Command(BaseCommand): light_text=True ) + self.output('Creating tickettypes...') + TicketType.objects.create( + name='Adult Full Week' + ) + TicketType.objects.create( + name='Adult One Day' + ) + TicketType.objects.create( + name='Child Full Week' + ) + TicketType.objects.create( + name='Child One Day' + ) + self.output("Creating productcategories...") transportation = ProductCategory.objects.create( name='Transportation',