Commit 8bb2cdb8 authored by Fernando Ribeiro's avatar Fernando Ribeiro
Browse files

Merge branch 'develop' into 'master'

develop into master

See merge request !6
parents b45e6281 68db30ef
......@@ -13,7 +13,7 @@ from courses.classes.serializers import (
class BasicClassViewSet(viewsets.ReadOnlyModelViewSet):
queryset = Class.objects.all()
queryset = Class.objects.all().order_by('-name')
serializer_class = BasicClassSerializer
filter_fields = ['course']
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