Skip to content

Commit b6450b7

Browse files
committed
Edit ticket type view model
1 parent 2a7f6bb commit b6450b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ticket/view_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Program:
2323
day: str # choice
2424
program: Program
2525
is_refundable: bool
26-
is_buyable: property # type: bool
26+
# is_buyable: property # type: bool
2727
buyable_url: Optional[str]
2828

2929
def __init__(self, model: TicketType):
@@ -42,7 +42,7 @@ def __init__(self, model: TicketType):
4242
program_type=model.program.program_type,
4343
)
4444
self.is_refundable = model.is_refundable
45-
self.is_buyable = model.buyable
45+
# self.is_buyable = model.buyable
4646
self.buyable_url = model.buyable_url
4747

4848
def to_dict(self):

0 commit comments

Comments
 (0)