2018-08-20 08:21:25 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r'^login$', views.user_login, name='login'),
|
|
|
|
url(r'^register$', views.user_register, name='register'),
|
|
|
|
url(r'^logout', views.user_logout, name='logout'),
|
|
|
|
url(r'^cart', views.cart, name='my_cart'),
|
|
|
|
url(r'^favorite', views.favorite, name='my_favorite'),
|
|
|
|
url(r'^order', views.my_order, name='my_order'),
|
2018-10-21 12:18:13 +00:00
|
|
|
url(r'^audits', views.order_audits, name='order_audits'),
|
2018-10-22 04:00:32 +00:00
|
|
|
url(r'^audit/detail/(?P<id>[\w-]+)$', views.order_audit_detail, name='order_audit_detail'),
|
2018-08-20 08:21:25 +00:00
|
|
|
url(r'^delete_favorite/(?P<id>[\w-]+)$', views.delete_favorite, name='delete_favorite'),
|
|
|
|
url(r'^delete_cart_data/(?P<id>[\w-]+$)', views.delete_cart_data, name='delete_cart_data'),
|
|
|
|
url(r'^add_to_order', views.add_to_order, name='add_to_order'),
|
|
|
|
url(r'^save_to_order', views.save_to_order, name='save_to_order'),
|
|
|
|
]
|