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