diff --git a/frontend/views.py b/frontend/views.py index 4a126ed..421586e 100644 --- a/frontend/views.py +++ b/frontend/views.py @@ -13,7 +13,7 @@ class PlaylistView(ListView): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context["title"] = "All Videos" - context["playlists"] = Playlist.objects.all() + context["playlists"] = Playlist.objects.all().order_by("title") context["playlist"] = self.get_playlist() return context