PageRenderTime 61ms CodeModel.GetById 56ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/comments/urls.py

https://code.google.com/p/mango-py/
Python | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | 7967beee1f5c9f3d413f53c7d0f3a9f2 MD5 | raw file
 1from django.conf.urls.defaults import *
 2
 3urlpatterns = patterns('django.contrib.comments.views',
 4    url(r'^post/$',          'comments.post_comment',       name='comments-post-comment'),
 5    url(r'^posted/$',        'comments.comment_done',       name='comments-comment-done'),
 6    url(r'^flag/(\d+)/$',    'moderation.flag',             name='comments-flag'),
 7    url(r'^flagged/$',       'moderation.flag_done',        name='comments-flag-done'),
 8    url(r'^delete/(\d+)/$',  'moderation.delete',           name='comments-delete'),
 9    url(r'^deleted/$',       'moderation.delete_done',      name='comments-delete-done'),
10    url(r'^approve/(\d+)/$', 'moderation.approve',          name='comments-approve'),
11    url(r'^approved/$',      'moderation.approve_done',     name='comments-approve-done'),
12)
13
14urlpatterns += patterns('',
15    url(r'^cr/(\d+)/(.+)/$', 'django.contrib.contenttypes.views.shortcut', name='comments-url-redirect'),
16)