src/cm/urls.py
changeset 144 e7e1bc64f613
parent 143 3c21b9097908
child 146 51c34f5970c2
equal deleted inserted replaced
143:3c21b9097908 144:e7e1bc64f613
    53      url(r'^create/content/$', text_create_content, name="text-create-content"),
    53      url(r'^create/content/$', text_create_content, name="text-create-content"),
    54      
    54      
    55 
    55 
    56      # text
    56      # text
    57      url(r'^text/(?P<key>\w*)/view/$', text_view, name="text-view"),
    57      url(r'^text/(?P<key>\w*)/view/$', text_view, name="text-view"),
    58      url(r'^text/(?P<key>\w*)/view/\?comment_key=(?P<id>\w*)$', text_view, name="text-view-show-comment"), 
    58      url(r'^text/(?P<key>\w*)/view/\?comment_id_key=(?P<id>\w*)$', text_view, name="text-view-show-comment"), 
    59      
    59      
    60 #     url(r'^text/(?P<key>\w*)/view/(?P<version_key>\w*)/$', text_view, name="text-view-version"),
    60 #     url(r'^text/(?P<key>\w*)/view/(?P<version_key>\w*)/$', text_view, name="text-view-version"),
    61      
    61      
    62      url(r'^text/(?P<key>\w*)/edit/$', text_edit, name="text-edit"),
    62      url(r'^text/(?P<key>\w*)/edit/$', text_edit, name="text-edit"),
    63      url(r'^text/(?P<key>\w*)/pre_edit/$', text_pre_edit, name="text-preedit"),
    63      url(r'^text/(?P<key>\w*)/pre_edit/$', text_pre_edit, name="text-preedit"),