Skip to content

Commit

Permalink
Run linters again
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Gan committed Jan 17, 2025
1 parent fddbe4e commit 52baff0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rca/programmes/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from .models import (
DegreeLevel,
ProgrammePage,
ProgrammeType,
ProgrammePageProgrammeType,
ProgrammeType,
)

faker = FakerFactory.create()
Expand Down
6 changes: 5 additions & 1 deletion rca/shortcourses/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,11 @@ class ShortCoursePage(ContactFieldsMixin, BasePage):
index.SearchField("location"),
index.RelatedFields(
"programme_types",
[index.RelatedFields("programme_type", [index.SearchField("display_name")])],
[
index.RelatedFields(
"programme_type", [index.SearchField("display_name")]
)
],
),
index.RelatedFields(
"subjects",
Expand Down

0 comments on commit 52baff0

Please sign in to comment.