mirror of
https://github.com/django/django.git
synced 2024-12-24 18:16:19 +00:00
4c468800ee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
18 lines
527 B
Python
18 lines
527 B
Python
from django.conf.urls.defaults import *
|
|
from django.contrib.comments.feeds import LatestCommentFeed
|
|
|
|
feeds = {
|
|
'comments': LatestCommentFeed,
|
|
}
|
|
|
|
urlpatterns = patterns('regressiontests.comment_tests.custom_comments.views',
|
|
url(r'^post/$', 'custom_submit_comment'),
|
|
url(r'^flag/(\d+)/$', 'custom_flag_comment'),
|
|
url(r'^delete/(\d+)/$', 'custom_delete_comment'),
|
|
url(r'^approve/(\d+)/$', 'custom_approve_comment'),
|
|
)
|
|
|
|
urlpatterns += patterns('',
|
|
(r'^rss/comments/$', LatestCommentFeed()),
|
|
)
|