Kaydet (Commit) d9d6345e authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Fixed bug in [29]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@30 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst f98724e5
from django.conf.urls.defaults import *
urlpatterns = patterns('django.contrib.comments.views',
(r'^post/$', 'comments.comments.post_comment'),
(r'^postfree/$', 'comments.comments.post_free_comment'),
(r'^posted/$', 'comments.comments.comment_was_posted'),
(r'^karma/vote/(?P<comment_id>\d+)/(?P<vote>up|down)/$', 'comments.karma.vote'),
(r'^flag/(?P<comment_id>\d+)/$', 'comments.userflags.flag'),
(r'^flag/(?P<comment_id>\d+)/done/$', 'comments.userflags.flag_done'),
(r'^delete/(?P<comment_id>\d+)/$', 'comments.userflags.delete'),
(r'^delete/(?P<comment_id>\d+)/done/$', 'comments.userflags.delete_done'),
urlpatterns = patterns('django.contrib.comments.comments',
(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'),
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment