We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d8e5f commit 6c5495dCopy full SHA for 6c5495d
books/urls.py
@@ -2,7 +2,7 @@
2
from books import views
3
4
urlpatterns = patterns('',
5
- url(r'^$', 'views.BooksModelView.as_view()', name='index'),
+ url(r'^$', views.BooksModelView.as_view(), name='index'),
6
7
url(r'^book/$', views.BookList.as_view(), name='book_list'),
8
url(r'^author/$', views.AuthorList.as_view(), name='author_list'),
0 commit comments