X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/d0f0e1412cc42d366b234e798dfb68feed05d751..d555d988764995ea1f9f5ece46f453a66f09b334:/src/comment/urls.py?ds=sidebyside diff --git a/src/comment/urls.py b/src/comment/urls.py new file mode 100644 index 0000000..ef48089 --- /dev/null +++ b/src/comment/urls.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +from django.conf.urls import patterns, url + +from .views import CommentDocumentList, CommentDocument + + +urlpatterns = patterns( + '', + url('^$', CommentDocumentList.as_view(), name='comment_document_index'), + url('^(?P[^/]+)/$', CommentDocument.as_view(), name='comment_document') +)