from django.conf.urls import url

from .views import *

urlpatterns = [
    url(r'^$', Products.as_view(), name='products'),
    url(r'^(?P<pk>[0-9]+)/$', Product.as_view(), name='product'),
]

04587b36dea423c49c349ec709b89b3f4852bd02
<mask token>

<mask token>
urlpatterns = [url('^$', Products.as_view(), name='products'), url(
    '^(?P<pk>[0-9]+)/$', Product.as_view(), name='product')]

from django.conf.urls import url
from .views import *
urlpatterns = [url('^$', Products.as_view(), name='products'), url(
    '^(?P<pk>[0-9]+)/$', Product.as_view(), name='product')]

from django.conf.urls import url

from .views import *

urlpatterns = [
    url(r'^$', Products.as_view(), name='products'),
    url(r'^(?P<pk>[0-9]+)/$', Product.as_view(), name='product'),
]
