from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^register/', views.register, name='register'),
    url(r'^login/', views.login, name='login')
]
from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^register/$', views.register, name='register'),
    url(r'^login/$', views.login, name='login'),
    url(r'^books/([a-zA-Z0-9]+)/$', views.book, name='book')
]
Add book url route matcher
Add book url route matcher

  from django.conf.urls import url
  from . import views
  
  urlpatterns = [
      url(r'^$', views.index, name='index'),
-     url(r'^register/', views.register, name='register'),
+     url(r'^register/$', views.register, name='register'),
-     url(r'^login/', views.login, name='login')
+     url(r'^login/$', views.login, name='login'),
+     url(r'^books/([a-zA-Z0-9]+)/$', views.book, name='book')
  ]
Add book url route matcher
## Code Before:
from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^register/', views.register, name='register'),
    url(r'^login/', views.login, name='login')
]
## Instruction:
Add book url route matcher
## Code After:
from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^$', views.index, name='index'),
    url(r'^register/$', views.register, name='register'),
    url(r'^login/$', views.login, name='login'),
    url(r'^books/([a-zA-Z0-9]+)/$', views.book, name='book')
]