from django.conf.urls import url

from admin.desk import views

urlpatterns = [
    url(r'^$', views.DeskCaseList.as_view(), name='cases'),
    url(r'^customer/(?P<user_id>[a-z0-9]+)/$', views.DeskCustomer.as_view(),
        name='customer'),
    url(r'^cases/(?P<user_id>[a-z0-9]+)/$', views.DeskCaseList.as_view(),
        name='user_cases'),
]

from django.conf.urls import url

from admin.desk import views

urlpatterns = [
    url(r'^customer/(?P<user_id>[a-z0-9]+)/$', views.DeskCustomer.as_view(),
        name='customer'),
    url(r'^cases/(?P<user_id>[a-z0-9]+)/$', views.DeskCaseList.as_view(),
        name='user_cases'),
]

Remove unused bare desk URL
Remove unused bare desk URL

  from django.conf.urls import url
  
  from admin.desk import views
  
  urlpatterns = [
-     url(r'^$', views.DeskCaseList.as_view(), name='cases'),
      url(r'^customer/(?P<user_id>[a-z0-9]+)/$', views.DeskCustomer.as_view(),
          name='customer'),
      url(r'^cases/(?P<user_id>[a-z0-9]+)/$', views.DeskCaseList.as_view(),
          name='user_cases'),
  ]
  
Remove unused bare desk URL
## Code Before:
from django.conf.urls import url

from admin.desk import views

urlpatterns = [
    url(r'^$', views.DeskCaseList.as_view(), name='cases'),
    url(r'^customer/(?P<user_id>[a-z0-9]+)/$', views.DeskCustomer.as_view(),
        name='customer'),
    url(r'^cases/(?P<user_id>[a-z0-9]+)/$', views.DeskCaseList.as_view(),
        name='user_cases'),
]

## Instruction:
Remove unused bare desk URL
## Code After:
from django.conf.urls import url

from admin.desk import views

urlpatterns = [
    url(r'^customer/(?P<user_id>[a-z0-9]+)/$', views.DeskCustomer.as_view(),
        name='customer'),
    url(r'^cases/(?P<user_id>[a-z0-9]+)/$', views.DeskCaseList.as_view(),
        name='user_cases'),
]
