newer-dal
LEdoian 4 years ago
parent ca8b9d1ced
commit 0221c6f701

@ -34,6 +34,6 @@ class WishListView(dv.ListView):
def get_context_data(self, **kwargs):
ctx = super().get_context_data(**kwargs)
ctx['page_title'] = f"Wishlist: {ctx['object']}"
ctx['wishlist'] = get_object_or_404(m.Wishlist, slug=self.kwargs['slug'])
ctx['page_title'] = f"Wishlist: {ctx['wishlist']}"
return ctx

Loading…
Cancel
Save