Skip to content

Commit

Permalink
Specify the product object in the product view to be the editable obj…
Browse files Browse the repository at this point in the history
…ect to link to from the admin toolbar.
  • Loading branch information
stephenmcd committed Aug 29, 2012
1 parent 5cf52e1 commit 635f267
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cartridge/shop/views.py
Expand Up @@ -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,
Expand Down

0 comments on commit 635f267

Please sign in to comment.