Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
URL internalization
Pacu282d5d91fb23e
diff --git a/saleor/urls.py b/saleor/urls.pyindex 433e2b839a..92464ed7fa 100644--- a/saleor/urls.py+++ b/saleor/urls.py@@ -24,7 +24,9 @@ handler404 = 'saleor.core.views.handle_404'urlpatterns = [url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps},- name='django.contrib.sitemaps.views.sitemap')]+ name='django.contrib.sitemaps.views.sitemap'),+ url(r'^graphql', GraphQLView.as_view(+ schema=schema, graphiql=settings.DEBUG), name='api')]new_urlpatterns = [url(r'^', include(core_urls)),@@ -33,8 +35,6 @@ new_urlpatterns = [include((checkout_urls, 'checkout'), namespace='checkout')),url(r'^dashboard/',include((dashboard_urls, 'dashboard'), namespace='dashboard')),- url(r'^graphql', GraphQLView.as_view(- schema=schema, graphiql=settings.DEBUG), name='api'),url(r'^jsi18n/$', JavaScriptCatalog.as_view(), name='javascript-catalog'),url(r'^order/', include((order_urls, 'order'), namespace='order')),url(r'^page/', include((page_urls, 'page'), namespace='page')),