Added comment app with support for adding and deleting comments to and from documents

This commit is contained in:
Roberto Rosario
2011-05-01 04:40:42 -04:00
parent 3261bb08b1
commit 9cebfc978b
12 changed files with 297 additions and 2 deletions

7
apps/comments/urls.py Normal file
View File

@@ -0,0 +1,7 @@
from django.conf.urls.defaults import patterns, url
urlpatterns = patterns('comments.views',
url(r'^(?P<comment_id>\d+)/delete/$', 'comment_delete', (), 'comment_delete'),
url(r'^multiple/delete/$', 'comment_multiple_delete', (), 'comment_multiple_delete'),
url(r'^add_to_document(?P<document_id>\d+)/$', 'comment_add', (), 'comment_add'),
)