Changeset - a6ecaad866d8
[Not reviewed]
0 1 0
Clinton Roy - 5 years ago 2019-09-30 10:28:33
clinton.roy@gmail.com
fairy -> contributor
1 file changed with 8 insertions and 8 deletions:
0 comments (0 inline, 0 general)
pinaxcon/registrasion/management/commands/populate_inventory.py
Show inline comments
...
 
@@ -166,11 +166,11 @@ class Command(BaseCommand):
 

	
 
        # Tickets
 

	
 
        self.ticket_fairy = self.find_or_make(
 
        self.ticket_contributor = self.find_or_make(
 
            inv.Product,
 
            ("name", "category",),
 
            category=self.ticket,
 
            name="Fairy Penguin Sponsor",
 
            name="Contributor",
 
            price=Decimal("1999.00"),
 
            reservation_duration=hours(24),
 
            order=1,
...
 
@@ -450,7 +450,7 @@ class Command(BaseCommand):
 
        )
 
        hide_all_tickets.group.set([self.group_prepurchase])
 
        hide_all_tickets.products.set([
 
            self.ticket_fairy,
 
            self.ticket_contributor,
 
            self.ticket_professional,
 
            self.ticket_hobbyist,
 
            self.ticket_student,
...
 
@@ -465,7 +465,7 @@ class Command(BaseCommand):
 
            limit=600,
 
        )
 
        public_ticket_cap.products.set([
 
            self.ticket_fairy,
 
            self.ticket_contributor,
 
            self.ticket_professional,
 
            self.ticket_hobbyist,
 
            self.ticket_student,
...
 
@@ -484,7 +484,7 @@ class Command(BaseCommand):
 
        ])
 

	
 
        public_ticket_cap.products.set([
 
            self.ticket_fairy,
 
            self.ticket_contributor,
 
            self.ticket_professional,
 
            self.ticket_hobbyist,
 
            self.ticket_student,
...
 
@@ -626,7 +626,7 @@ class Command(BaseCommand):
 
        )
 
        pdns_by_ticket.enabling_products.set([
 
            self.ticket_professional,
 
            self.ticket_fairy,
 
            self.ticket_contributor,
 
            self.ticket_media,
 
            self.ticket_sponsor,
 
        ])
...
 
@@ -693,7 +693,7 @@ class Command(BaseCommand):
 
                cond.DiscountForProduct,
 
                ("discount", "product"),
 
                discount=discount,
 
                product=self.ticket_fairy,
 
                product=self.ticket_contributor,
 
                price=Decimal("150.00"),
 
                quantity=1,  # Per user
 
            )
...
 
@@ -773,7 +773,7 @@ class Command(BaseCommand):
 
            description="Complimentary for ticket holder (Professional-level)",
 
        )
 
        ticket_prolike_inclusions.enabling_products.set([
 
            self.ticket_fairy,
 
            self.ticket_contributor,
 
            self.ticket_professional,
 
            self.ticket_media,
 
            self.ticket_sponsor,
0 comments (0 inline, 0 general)