# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

from django.conf.urls import url

from . import views

urlpatterns = [
    # URL pattern for the ServiceListView
    url(
        regex=r'^all_services$',
        view=views.ServiceList.as_view(),
        name='list'
    ),
    # URL pattern for the ServiceDetailView
    url(
        regex=r'^(?P<pk>[0-9]+)/$',
        view=views.ServiceDetail.as_view(),
        name='detail'
    ),
    # URL pattern for the CategoryListView
    url(
        regex=r'^categories$',
        view=views.CategoryList.as_view(),
        name='list'
    ),
]

@@ -377,15 +377,16 @@
 (?P%3C
-pk%3E%5B0-9
+uuid%3E%5B%5E/
 %5D+)/

uuid replace pk