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 56d474f commit 32532cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from django.core.exceptions import ValidationError
from django.core.serializers.json import DjangoJSONEncoder
from django.db import models
from django.forms import ChoiceField, DecimalField, TextInput
from django.forms import ChoiceField, DecimalField
from django.http import Http404
from django.template.response import TemplateResponse
from django.urls import reverse
Expand Down Expand Up @@ -1105,7 +1105,8 @@ def is_program_page(self):
InlinePanel(
"linked_instructors",
label="Faculty Members",
help_text="If you need to change the order of faculty members, please delete and add them in the correct order, instead of re-choosing"),
help_text="If you need to change the order of faculty members, please delete and add them in the correct order, instead of re-choosing",
),
]

subpage_types = ["FlexiblePricingRequestForm", "CertificatePage"]
Expand Down Expand Up @@ -1142,8 +1143,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 32532cf

Please sign in to comment.