Skip to content

Commit

Permalink
style: black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmarchd01 committed Dec 2, 2024
1 parent 3c06d64 commit 41f5ba7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion django/cantusdb_project/main_app/views/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ def get_queryset(self):
volpiano_proofread = self.request.GET.get("volpiano_proofread")

# get all chants in the specified source
chants: QuerySet[Chant] = source.chant_set.select_related("feast", "service", "genre")
chants: QuerySet[Chant] = source.chant_set.select_related(
"feast", "service", "genre"
)
# filter the chants with optional search params
if feast_id:
chants = chants.filter(feast__id=feast_id)
Expand Down

0 comments on commit 41f5ba7

Please sign in to comment.