2005-07-13 09:25:57 +08:00
|
|
|
from django.conf.urls.defaults import *
|
|
|
|
|
2005-07-15 02:37:10 +08:00
|
|
|
urlpatterns = patterns('django.contrib.comments.views',
|
2005-07-15 02:34:52 +08:00
|
|
|
(r'^post/$', 'comments.post_comment'),
|
|
|
|
(r'^postfree/$', 'comments.post_free_comment'),
|
|
|
|
(r'^posted/$', 'comments.comment_was_posted'),
|
|
|
|
(r'^karma/vote/(?P<comment_id>\d+)/(?P<vote>up|down)/$', 'karma.vote'),
|
|
|
|
(r'^flag/(?P<comment_id>\d+)/$', 'userflags.flag'),
|
|
|
|
(r'^flag/(?P<comment_id>\d+)/done/$', 'userflags.flag_done'),
|
|
|
|
(r'^delete/(?P<comment_id>\d+)/$', 'userflags.delete'),
|
|
|
|
(r'^delete/(?P<comment_id>\d+)/done/$', 'userflags.delete_done'),
|
2005-07-13 09:25:57 +08:00
|
|
|
)
|