annotate comments/urls.py @ 1096:d9cd3180c12c
More GCalendar V3 conversion in progress.
Built a brand new post editor. It is hardcoded into GCalendar
right now. We will make it more general in the future.
author |
Brian Neal <bgneal@gmail.com> |
date |
Tue, 14 Jun 2016 21:16:09 -0500 |
parents |
110bbc78a482 |
children |
|
rev |
line source |
gremmie@1
|
1 """
|
gremmie@1
|
2 URLs for the comments application.
|
gremmie@1
|
3 """
|
bgneal@1028
|
4 from django.conf.urls import url
|
bgneal@1028
|
5 import django.contrib.contenttypes.views
|
gremmie@1
|
6
|
bgneal@1028
|
7 import comments.views
|
bgneal@14
|
8
|
bgneal@1028
|
9 urlpatterns = [
|
bgneal@1028
|
10 url(r'^flag/$', comments.views.flag_comment, name='comments-flag'),
|
bgneal@1094
|
11 url(r'^markdown/$', comments.views.markdown_preview,
|
bgneal@1094
|
12 name='comments-markdown_preview'),
|
bgneal@1094
|
13 url(r'^markdown/v3/$', comments.views.markdown_preview_v3,
|
bgneal@1094
|
14 name='comments-markdown_preview_v3'),
|
bgneal@1028
|
15 url(r'^post/$', comments.views.post_comment, name='comments-post'),
|
bgneal@14
|
16 url(r'^cr/(\d+)/(\d+)/$',
|
bgneal@1028
|
17 django.contrib.contenttypes.views.shortcut,
|
bgneal@14
|
18 name='comments-url-redirect'),
|
bgneal@1028
|
19 ]
|