diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 9b040a393..2bb274355 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -68,7 +68,7 @@ Right, we'd better write some views then. Open `tutorial/quickstart/views.py` a """ API endpoint that allows users to be viewed or edited. """ - queryset = User.objects.all() + queryset = User.objects.all().order_by('-date_joined') serializer_class = UserSerializer