<filename>meiduo_mall/meiduo_mall/apps/orders/urls.py
from django.conf.urls import url
from django.contrib import admin
from . import views
urlpatterns = [
    url(r'^orders/settlement/$', views.OrderView.as_view()),
    url(r'^orders/commit/$', views.OrderCommitView.as_view()),
    # 获取订单成功页面
    url(r'^orders/success/$', views.OrderSuccessView.as_view()),
    # 用户中心获取当前用户的订单信息
    url(r'^orders/info/(?P<pk>\d+)/$', views.OrderInfoView.as_view()),
    # 订单评价
    url(r'^orders/comment/$', views.OrderCommentView.as_view()),
]

<filename>meiduo_mall/meiduo_mall/apps/orders/urls.py
from django.conf.urls import url
from django.contrib import admin
from . import views
urlpatterns = [
    url(r'^orders/settlement/$', views.OrderView.as_view()),
    url(r'^orders/commit/$', views.OrderCommitView.as_view()),
    # 获取订单成功页面
    url(r'^orders/success/$', views.OrderSuccessView.as_view()),
    # 用户中心获取当前用户的订单信息
    url(r'^orders/info/(?P<pk>\d+)/$', views.OrderInfoView.as_view()),
    # 订单评价
    url(r'^orders/comment/$', views.OrderCommentView.as_view()),
]

# 获取订单成功页面 # 用户中心获取当前用户的订单信息 # 订单评价