aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/views.py')
-rw-r--r--alphabetlearning/payments/views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alphabetlearning/payments/views.py b/alphabetlearning/payments/views.py
index 73a14c2..6bcb5a5 100644
--- a/alphabetlearning/payments/views.py
+++ b/alphabetlearning/payments/views.py
@@ -69,10 +69,10 @@ class ProductLandingPageView(TemplateView):
template_name = "payments/landingpage.html"
def get_context_data(self, **kwargs):
- product = Product.objects.get(name="Worksheet 1")
- prices = Price.objects.filter(product=product)
+ resource = Resource.objects.get(id=91)
+ prices = Price.objects.filter(resource=resource)
context = super(ProductLandingPageView, self).get_context_data(**kwargs)
- context.update({"product": product, "prices": prices})
+ context.update({"resource": resource, "prices": prices})
return context