Skip to content

Commit a887811

Browse files
committed
add is_hs (part 2)
1 parent 422b5d6 commit a887811

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

books/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def get_book_data(book):
5252
'subject_categories': book.subject_categories,
5353
'k12subject': book.k12subjects(),
5454
'is_ap': book.is_ap,
55+
'is_hs': 'High School' in book.subjects(),
5556
'cover_url': book.cover_url,
5657
'cover_color': book.cover_color,
5758
'high_resolution_pdf_url': book.high_resolution_pdf_url,

0 commit comments

Comments
 (0)