gremmie@1: """ gremmie@1: URLs for the comments application. gremmie@1: """ bgneal@1028: from django.conf.urls import url bgneal@1028: import django.contrib.contenttypes.views gremmie@1: bgneal@1028: import comments.views bgneal@14: bgneal@1028: urlpatterns = [ bgneal@1028: url(r'^flag/$', comments.views.flag_comment, name='comments-flag'), bgneal@1094: url(r'^markdown/$', comments.views.markdown_preview, bgneal@1094: name='comments-markdown_preview'), bgneal@1094: url(r'^markdown/v3/$', comments.views.markdown_preview_v3, bgneal@1094: name='comments-markdown_preview_v3'), bgneal@1028: url(r'^post/$', comments.views.post_comment, name='comments-post'), bgneal@14: url(r'^cr/(\d+)/(\d+)/$', bgneal@1028: django.contrib.contenttypes.views.shortcut, bgneal@14: name='comments-url-redirect'), bgneal@1028: ]