diff options
Diffstat (limited to 'app/src/urls.py')
-rw-r--r-- | app/src/urls.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/urls.py b/app/src/urls.py index c9e8077..a2368e3 100644 --- a/app/src/urls.py +++ b/app/src/urls.py @@ -4,6 +4,7 @@ from django.views.generic import ListView from .models import Entry, Book urlpatterns = patterns('', + (r'topic/(?P<slug>[-\w]+)/$', 'src.views.topic'), (r'books/$', ListView.as_view( queryset=Book.objects.filter(status__exact=1).order_by('-pub_date'), template_name="archives/src_books.html", |