Files
edx-platform/lms/djangoapps/commerce/urls.py
jsa efde11d552 Use ecommerce api v2.
XCOM-213 XCOM-214
2015-04-27 16:57:17 -04:00

16 lines
453 B
Python

"""
Defines the URL routes for this app.
"""
from django.conf.urls import patterns, url
from .views import BasketsView, checkout_cancel
urlpatterns = patterns(
'',
url(r'^baskets/$', BasketsView.as_view(), name="baskets"),
url(r'^checkout/cancel/$', checkout_cancel, name="checkout_cancel"),
# (XCOM-214) For backwards compatibility with js clients during intial release
url(r'^orders/$', BasketsView.as_view(), name="orders"),
)