view comments/urls.py @ 1067:1868467244d2

Main menu is now 12 columns across in flexbox grid.
author Brian Neal <bgneal@gmail.com>
date Thu, 31 Mar 2016 20:32:46 -0500
parents 5ba2508939f7
children 110bbc78a482
line wrap: on
line source
"""
URLs for the comments application.
"""
from django.conf.urls import url
import django.contrib.contenttypes.views

import comments.views

urlpatterns = [
    url(r'^flag/$', comments.views.flag_comment, name='comments-flag'),
    url(r'^markdown/$', comments.views.markdown_preview, name='comments-markdown_preview'),
    url(r'^post/$', comments.views.post_comment, name='comments-post'),
    url(r'^cr/(\d+)/(\d+)/$',
        django.contrib.contenttypes.views.shortcut,
        name='comments-url-redirect'),
]