1
from __future__ import absolute_import
3
from django.conf.urls import patterns, url
4
from django.contrib.comments.feeds import LatestCommentFeed
6
from .custom_comments import views
10
'comments': LatestCommentFeed,
13
urlpatterns = patterns('',
14
url(r'^post/$', views.custom_submit_comment),
15
url(r'^flag/(\d+)/$', views.custom_flag_comment),
16
url(r'^delete/(\d+)/$', views.custom_delete_comment),
17
url(r'^approve/(\d+)/$', views.custom_approve_comment),
18
url(r'^cr/(\d+)/(.+)/$', 'django.contrib.contenttypes.views.shortcut', name='comments-url-redirect'),
21
urlpatterns += patterns('',
22
(r'^rss/comments/$', LatestCommentFeed()),