from django.conf.urls import url, include

from product.views.v1 import product as views


product_urls = [
    url(
        r'^products/', include(
            [
                url(
                    r'^$',
                    views.ProductListAPIView.as_view(),
                    name='product-list'
                ),
                url(
                    r'^(?P<pk>\d+)/$',
                    views.ProductRetrieveAPIView.as_view(),
                    name='product-detail'
                )
            ]
        )
    )
]

f099cec6fc072abb093d1e9d4bcec4b5af685868
<mask token>

<mask token>
product_urls = [url('^products/', include([url('^$', views.
    ProductListAPIView.as_view(), name='product-list'), url(
    '^(?P<pk>\\d+)/$', views.ProductRetrieveAPIView.as_view(), name=
    'product-detail')]))]

from django.conf.urls import url, include
from product.views.v1 import product as views
product_urls = [url('^products/', include([url('^$', views.
    ProductListAPIView.as_view(), name='product-list'), url(
    '^(?P<pk>\\d+)/$', views.ProductRetrieveAPIView.as_view(), name=
    'product-detail')]))]

from django.conf.urls import url, include

from product.views.v1 import product as views


product_urls = [
    url(
        r'^products/', include(
            [
                url(
                    r'^$',
                    views.ProductListAPIView.as_view(),
                    name='product-list'
                ),
                url(
                    r'^(?P<pk>\d+)/$',
                    views.ProductRetrieveAPIView.as_view(),
                    name='product-detail'
                )
            ]
        )
    )
]
