diff --git a/wishlist/views.py b/wishlist/views.py index 5e23302..3459f9e 100644 --- a/wishlist/views.py +++ b/wishlist/views.py @@ -34,6 +34,6 @@ class WishListView(dv.ListView): def get_context_data(self, **kwargs): ctx = super().get_context_data(**kwargs) - ctx['wishlist'] = get_object_or_404(m.Wishlist, slug=self.kwargs['slug']) + ctx['wishlist'] = get_object_or_404(m.WishList, slug=self.kwargs['slug']) ctx['page_title'] = f"Wishlist: {ctx['wishlist']}" return ctx