from django.conf.urls import patterns, url

from . import views


urlpatterns = patterns(
    '',
    url(r'^$', views.OrderListView.as_view(), name='orders'),
    url(r'^(?P<pk>[0-9]+)/$',
        views.order_details, name='order-details'),
    url(r'^(?P<order_pk>[0-9]+)/address-billing/$',
        views.address_view, name='address-billing-edit'),
    url(r'^(?P<order_pk>[0-9]+)/address-shipping/(?P<group_pk>[0-9]+)/$',
        views.address_view, name='address-shipping-edit'),
    url(r'^payment/(?P<pk>[0-9]+)/(?P<action>capture|refund|release)$',
        views.manage_payment, name='manage-payment'),
    url(r'^line/(?P<pk>[0-9]+)/$', views.edit_order_line,
        name='order-line-edit'),
    url(r'^line/(?P<pk>[0-9]+)/(?P<action>change_quantity|move_items)$',
        views.edit_order_line, name='order-line-edit'),
    url(r'^ship/(?P<pk>[0-9]+)/$', views.ship_delivery_group,
        name='ship-delivery-group')
)

@@ -546,16 +546,17 @@
 release)
+/
 $',%0A    
@@ -765,16 +765,17 @@
 e_items)
+/
 $',%0A    

Add missing slashes