Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 30, 2025
1 parent 3af8f64 commit 3faf712
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ def is_program_page(self):
InlinePanel(
"linked_instructors",
label="Faculty Members",
)
),
]

subpage_types = ["FlexiblePricingRequestForm", "CertificatePage"]
Expand Down Expand Up @@ -1142,8 +1142,7 @@ def get_url_parts(self, request=None):

def get_context(self, request, *args, **kwargs): # noqa: ARG002
instructors = [
member.linked_instructor_page
for member in self.linked_instructors.all()
member.linked_instructor_page for member in self.linked_instructors.all()
]

return {
Expand Down

0 comments on commit 3faf712

Please sign in to comment.