From 3a0fd7f7533af991fe2e6c25b734139c4b71644d Mon Sep 17 00:00:00 2001 From: Jack Morgan Date: Fri, 18 May 2018 16:17:19 +1200 Subject: [PATCH] Add missing docstring --- pikau/views.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pikau/views.py b/pikau/views.py index 372e6af..1145dff 100644 --- a/pikau/views.py +++ b/pikau/views.py @@ -90,6 +90,11 @@ class MilestoneList(LoginRequiredMixin, generic.ListView): context_object_name = "milestones" def get_queryset(self, **kwargs): + """Get queryset of all milestones. + + Returns: + Queryset of ordered Milestone objects. + """ return Milestone.objects.order_by("date") def get_context_data(self, **kwargs):