Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 635f2675fb5489b798f822221965bee367bd8502 1 parent 5cf52e1
@stephenmcd authored
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,
Please sign in to comment.
Something went wrong with that request. Please try again.