Browse files

Specify the product object in the product view to be the editable obj…

…ect to link to from the admin toolbar.
  • Loading branch information...
1 parent 5cf52e1 commit 635f2675fb5489b798f822221965bee367bd8502 @stephenmcd committed Aug 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 cartridge/shop/views.py
View
1 cartridge/shop/views.py
@@ -70,6 +70,7 @@ def product(request, slug, template="shop/product.html"):
return response
context = {
"product": product,
+ "editable_obj": product,
"images": product.images.all(),
"variations": variations,
"variations_json": variations_json,

0 comments on commit 635f267

Please sign in to comment.