From c8cf1891565d9dc91e1374b178351dd04838e810 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Fri, 13 May 2016 08:50:04 +0200 Subject: [PATCH] super fix --- shop/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shop/views.py b/shop/views.py index fc3d5f8b..1e58ea8a 100644 --- a/shop/views.py +++ b/shop/views.py @@ -17,7 +17,7 @@ class ShopIndexView(ListView): template_name = "shop_index.html" def get_context_data(self, **kwargs): - context = super(EpayView, self).get_context_data(**kwargs) + context = super(ShopIndexView, self).get_context_data(**kwargs) context['orders'] = Order.objects.filter(user=self.request.user) return context @@ -136,7 +136,7 @@ class CoinifyRedirectView(TemplateView): def get_context_data(self, **kwargs): order = Order.objects.get(pk=kwargs.get('order_id')) - context = super(CoinifyView, self).get_context_data(**kwargs) + context = super(CoinifyRedirectView, self).get_context_data(**kwargs) context['order'] = order ### Initiate coinify API and create invoice