Skip to content

Commit

Permalink
fix(forms): Make chant project field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller committed Jul 10, 2024
1 parent 8361d23 commit b9c594c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django/cantusdb_project/main_app/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class Meta:
project = SelectWidgetNameModelChoiceField(
queryset=Project.objects.all().order_by("id"),
initial=None,
required=False,
help_text="Select the project (if any) that the chant belongs to.",
)

Expand Down Expand Up @@ -346,6 +347,7 @@ class Meta:
project = SelectWidgetNameModelChoiceField(
queryset=Project.objects.all().order_by("id"),
help_text="Select the project (if any) that the chant belongs to.",
required = False,
)


Expand Down

0 comments on commit b9c594c

Please sign in to comment.