mirror of
https://github.com/django/django.git
synced 2024-12-26 11:06:07 +00:00
d362c1546f
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
23 lines
559 B
Python
23 lines
559 B
Python
from __future__ import absolute_import
|
|
|
|
from django.conf.urls import patterns, url
|
|
from django.contrib.comments.feeds import LatestCommentFeed
|
|
|
|
from .custom_comments import views
|
|
|
|
|
|
feeds = {
|
|
'comments': LatestCommentFeed,
|
|
}
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^post/$', views.custom_submit_comment),
|
|
url(r'^flag/(\d+)/$', views.custom_flag_comment),
|
|
url(r'^delete/(\d+)/$', views.custom_delete_comment),
|
|
url(r'^approve/(\d+)/$', views.custom_approve_comment),
|
|
)
|
|
|
|
urlpatterns += patterns('',
|
|
(r'^rss/comments/$', LatestCommentFeed()),
|
|
)
|