1 # -*- coding: utf-8 -*-
2 from django.conf.urls import patterns, url
4 from .views import CommentDocumentList, CommentDocument
7 urlpatterns = patterns(
9 url('^$', CommentDocumentList.as_view(), name='comment_document_index'),
10 url('^(?P<slug>[^/]+)/$', CommentDocument.as_view(), name='comment_document')