Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
PEP8, tests
Pacu291f43a6b010b
diff --git a/saleor/dashboard/menu/views.py b/saleor/dashboard/menu/views.pyindex e9706d0ddf..b977a9a00f 100644--- a/saleor/dashboard/menu/views.py+++ b/saleor/dashboard/menu/views.py@@ -127,7 +127,8 @@ def menu_item_create(request, menu_pk, root_pk=None):messages.success(request, msg)if root_pk:return redirect(- 'dashboard:menu-item-details', menu_pk=menu.pk, item_pk=root_pk)+ 'dashboard:menu-item-details',+ menu_pk=menu.pk, item_pk=root_pk)return redirect('dashboard:menu-details', pk=menu.pk)ctx = {'form': form, 'menu': menu, 'menu_item': menu_item, 'path': path}diff --git a/templates/product/details.html b/templates/product/details.htmlindex d271063e72..d9897b8ab3 100644--- a/templates/product/details.html+++ b/templates/product/details.html@@ -118,7 +118,7 @@</h1>{% if user.is_staff %}<p>- <a href="{% url "dashboard:product-details"pk=product.pk %}">+ <a href="{% url "dashboard:product-details" pk=product.pk %}">{% trans "Edit in dashboard" context "Product details link text" %}</a></p>