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

urlpatterns = [
	url(r'^$', views.tale_list, name='tale_list'),
	url(r'^create-book/(?P<tale_id>[0-9]+)$', views.create_book, name='create_book'),
]

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

urlpatterns = [
	url(r'^$', views.tale_list, name='tale_list'),
	url(r'^create-tale/(?P<tale_id>[0-9]+)$', views.create_tale, name='create_tale'),
]

Rename links from *book* to *tale*
Rename links from *book* to *tale*

  from django.conf.urls import url
  from . import views
  
  urlpatterns = [
  	url(r'^$', views.tale_list, name='tale_list'),
- 	url(r'^create-book/(?P<tale_id>[0-9]+)$', views.create_book, name='create_book'),
+ 	url(r'^create-tale/(?P<tale_id>[0-9]+)$', views.create_tale, name='create_tale'),
  ]
  
Rename links from *book* to *tale*
## Code Before:
from django.conf.urls import url
from . import views

urlpatterns = [
	url(r'^$', views.tale_list, name='tale_list'),
	url(r'^create-book/(?P<tale_id>[0-9]+)$', views.create_book, name='create_book'),
]

## Instruction:
Rename links from *book* to *tale*
## Code After:
from django.conf.urls import url
from . import views

urlpatterns = [
	url(r'^$', views.tale_list, name='tale_list'),
	url(r'^create-tale/(?P<tale_id>[0-9]+)$', views.create_tale, name='create_tale'),
]
