from django.conf.urls import url

from api.applications import views

urlpatterns = [
    url(r'^$', views.ApplicationList.as_view(), name='application-list'),
    url(r'^(?P<client_id>\w+)/$', views.ApplicationDetail.as_view(), name='application-detail')
]

from django.conf.urls import url

from api.applications import views

urlpatterns = [
    url(r'^$', views.ApplicationList.as_view(), name='application-list'),
    url(r'^(?P<client_id>\w+)/$', views.ApplicationDetail.as_view(), name='application-detail'),
    url(r'^(?P<client_id>\w+)/reset/$', views.ApplicationReset.as_view(), name='application-reset')
]

Add url for client secret resetting
Add url for client secret resetting

  from django.conf.urls import url
  
  from api.applications import views
  
  urlpatterns = [
      url(r'^$', views.ApplicationList.as_view(), name='application-list'),
-     url(r'^(?P<client_id>\w+)/$', views.ApplicationDetail.as_view(), name='application-detail')
+     url(r'^(?P<client_id>\w+)/$', views.ApplicationDetail.as_view(), name='application-detail'),
+     url(r'^(?P<client_id>\w+)/reset/$', views.ApplicationReset.as_view(), name='application-reset')
  ]
  
Add url for client secret resetting
## Code Before:
from django.conf.urls import url

from api.applications import views

urlpatterns = [
    url(r'^$', views.ApplicationList.as_view(), name='application-list'),
    url(r'^(?P<client_id>\w+)/$', views.ApplicationDetail.as_view(), name='application-detail')
]

## Instruction:
Add url for client secret resetting
## Code After:
from django.conf.urls import url

from api.applications import views

urlpatterns = [
    url(r'^$', views.ApplicationList.as_view(), name='application-list'),
    url(r'^(?P<client_id>\w+)/$', views.ApplicationDetail.as_view(), name='application-detail'),
    url(r'^(?P<client_id>\w+)/reset/$', views.ApplicationReset.as_view(), name='application-reset')
]
