7.12 A Final Refactor Using URL includes (w/ bug fix)
This commit is contained in:
parent
59f8866642
commit
c1e75783d6
@ -17,7 +17,7 @@ from django.conf.urls import url
|
||||
from lists import views
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^lists/new$', views.new_list, name='new_list'),
|
||||
url(r'^lists/(\d+)/$', views.view_list, name='view_list'),
|
||||
url(r'^lists/(\d+)/add_item$', views.add_item, name='add_item'),
|
||||
url(r'^new$', views.new_list, name='new_list'),
|
||||
url(r'^(\d+)/$', views.view_list, name='view_list'),
|
||||
url(r'^(\d+)/add_item$', views.add_item, name='add_item'),
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user