Skip to content

Commit

Permalink
fix: order Project queryset by name
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Oct 3, 2024
1 parent 6ce1e6f commit 80fe54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvdat/core/rest/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


class ProjectViewSet(ModelViewSet):
queryset = Project.objects.all()
queryset = Project.objects.all().order_by('name')
serializer_class = ProjectSerializer
permission_classes = [GuardianPermission]
filter_backends = [GuardianFilter]
Expand Down

0 comments on commit 80fe54e

Please sign in to comment.