Created
April 30, 2017 02:22
-
-
Save alisonamerico/2ad4547e35f5615de3bfcf3a669df7e9 to your computer and use it in GitHub Desktop.
urls.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding=utf-8 | |
from django.conf.urls import url | |
from . import views | |
urlpatterns = [ | |
url( | |
r'^carrinho/adicionar/(?P<slug>[\w_-]+)/$', views.create_cartitem, | |
name='create_cartitem' | |
), | |
url(r'^carrinho/$', views.cart_item, name='cart_item'), | |
url(r'^finalizando/$', views.checkout, name='checkout'), | |
url( | |
r'^finalizando/(?P<pk>\d+)/pagseguro/$', views.pagseguro_view, | |
name='pagseguro_view' | |
), | |
url(r'^meus-pedidos/$', views.order_list, name='order_list'), | |
url(r'^meus-pedidos/(?P<pk>\d+)/$', views.order_detail, name='order_detail'), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment