from django.conf.urls import include, url

from shop import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^products/(?P<product_id>[0-9]+)/$', views.detail, name='detail')
]
864e4c6f0c98e573b3ae63a35d026a985287994d
<mask token>

<mask token>
urlpatterns = [url('^$', views.index, name='index'), url(
    '^products/(?P<product_id>[0-9]+)/$', views.detail, name='detail')]

from django.conf.urls import include, url
from shop import views
urlpatterns = [url('^$', views.index, name='index'), url(
    '^products/(?P<product_id>[0-9]+)/$', views.detail, name='detail')]

from django.conf.urls import include, url

from shop import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^products/(?P<product_id>[0-9]+)/$', views.detail, name='detail')
]