From a4e0f0305089d581dc77fcc56deed4cf54c48a14 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 30 Jul 2015 14:18:09 +0100 Subject: [PATCH] Tweak quickstart to show newest users first in list view --- docs/tutorial/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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