add ticket students to the student ticket cap. lots of tiny styling issues.
This commit is contained in:
parent
183896d2b6
commit
db90ed20db
1 changed files with 11 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
from datetime import datetime
|
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
@ -479,6 +478,11 @@ class Command(BaseCommand):
|
||||||
condition=cond.FlagBase.DISABLE_IF_FALSE,
|
condition=cond.FlagBase.DISABLE_IF_FALSE,
|
||||||
limit=100,
|
limit=100,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
student_ticket_cap.products.set([
|
||||||
|
self.ticket_student,
|
||||||
|
])
|
||||||
|
|
||||||
public_ticket_cap.products.set([
|
public_ticket_cap.products.set([
|
||||||
self.ticket_fairy,
|
self.ticket_fairy,
|
||||||
self.ticket_professional,
|
self.ticket_professional,
|
||||||
|
@ -683,7 +687,6 @@ class Command(BaseCommand):
|
||||||
self.speakers_dinner_ticket,
|
self.speakers_dinner_ticket,
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
def populate_discounts(self):
|
def populate_discounts(self):
|
||||||
def add_early_birds(discount):
|
def add_early_birds(discount):
|
||||||
self.find_or_make(
|
self.find_or_make(
|
||||||
|
|
Loading…
Reference in a new issue