Another fixup

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

@ -34,6 +34,6 @@ class WishListView(dv.ListView):
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
ctx = super().get_context_data(**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']}" ctx['page_title'] = f"Wishlist: {ctx['wishlist']}"
return ctx return ctx

Loading…
Cancel
Save