Skip to content

Commit

Permalink
Stop unnecessary updates of API schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Aug 7, 2024
1 parent 5a2e9eb commit 80ce0c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/grandchallenge/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
ComponentInterfaceViewSet,
basename="components-interface",
)

# Evaluations
router.register(r"evaluations", EvaluationViewSet, basename="evaluation")

Expand Down
2 changes: 1 addition & 1 deletion app/grandchallenge/timezones/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

class TimezoneSerializer(Serializer):
timezone = ChoiceField(
choices=zoneinfo.available_timezones(), required=True
choices=sorted(zoneinfo.available_timezones()), required=True
)

0 comments on commit 80ce0c2

Please sign in to comment.