Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix redirect
Krzysztof Wolski77e84817d768
diff --git a/saleor/dashboard/product/views.py b/saleor/dashboard/product/views.pyindex 314d973cfb..0d01f5a78f 100644--- a/saleor/dashboard/product/views.py+++ b/saleor/dashboard/product/views.py@@ -36,7 +36,7 @@ def product_class_create(request):product_class = form.save()msg = _('Added product class %s') % product_classmessages.success(request, msg)- return redirect('dashboard:product-class-add')+ return redirect('dashboard:product-class-list')ctx = {'form': form, 'product_class': product_class}return TemplateResponse(request, 'dashboard/product/product_class_form.html', ctx)