1 from django.conf.urls import patterns, include, url
3 from .views import CommentDocumentList, CommentDocument
6 urlpatterns = patterns('',
7 url('^$', CommentDocumentList.as_view(), name = 'comment_document_index'),
8 url('^(?P<slug>[^/]+)/$', CommentDocument.as_view(), name = 'comment_document')