Commit b58259c6 authored by Marten Kenbeek's avatar Marten Kenbeek
Browse files

Ordered registered actions by date.

parent 5a5c1803
......@@ -12,7 +12,7 @@ class CourseViewSet(ModelViewSet):
class RegisteredActionViewSet(ModelViewSet):
queryset = RegisteredAction.objects.all()
queryset = RegisteredAction.objects.order_by("date")
serializer_class = RegisteredActionSerializer
permission_classes = [IsAuthenticated]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment