1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed bug in [29]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@30 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-07-14 18:34:52 +00:00
parent f98724e57a
commit d9d6345e3f

View File

@ -1,12 +1,12 @@
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'),
)