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):