Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update include syntax to be compatible
Patryk Zawadzki8fc39d41dbbe
diff --git a/saleor/urls.py b/saleor/urls.pyindex 4c1632a6b5..2cbaaf6221 100644--- a/saleor/urls.py+++ b/saleor/urls.py@@ -21,16 +21,21 @@ from .userprofile.urls import urlpatterns as userprofile_urlsurlpatterns = [url(r'^', include(core_urls)),url(r'^account/', include(registration_urls)),- url(r'^cart/', include(cart_urls, namespace='cart')),- url(r'^checkout/', include(checkout_urls, namespace='checkout')),- url(r'^dashboard/', include(dashboard_urls, namespace='dashboard')),+ url(r'^cart/', include((cart_urls, 'cart'), namespace='cart')),+ url(r'^checkout/',+ include((checkout_urls, 'checkout'), namespace='checkout')),+ url(r'^dashboard/',+ include((dashboard_urls, 'dashboard'), namespace='dashboard')),url(r'^graphql', GraphQLView.as_view(graphiql=settings.DEBUG)),url(r'^jsi18n/$', javascript_catalog, name='javascript-catalog'),- url(r'^order/', include(order_urls, namespace='order')),- url(r'^products/', include(product_urls, namespace='product')),- url(r'^profile/', include(userprofile_urls, namespace='profile')),- url(r'^search/', include(search_urls, namespace='search')),- url(r'^feeds/', include(feed_urls, namespace='data_feeds')),+ url(r'^order/', include((order_urls, 'order'), namespace='order')),+ url(r'^products/',+ include((product_urls, 'product'), namespace='product')),+ url(r'^profile/',+ include((userprofile_urls, 'profile'), namespace='profile')),+ url(r'^search/', include((search_urls, 'search'), namespace='search')),+ url(r'^feeds/',+ include((feed_urls, 'data_feeds'), namespace='data_feeds')),url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps},name='django.contrib.sitemaps.views.sitemap'),url(r'', include('payments.urls')),