src/cm/api/urls.py
changeset 415 bacf162c7b58
parent 293 2c52e4453bf7
child 463 9c7de6dd1723
equal deleted inserted replaced
414:ef8b166a0993 415:bacf162c7b58
    18 tv_delete_handler = Resource(handler=TextVersionDeleteHandler, authentication=auth)
    18 tv_delete_handler = Resource(handler=TextVersionDeleteHandler, authentication=auth)
    19 
    19 
    20 text_export_handler = Resource(handler=TextExportHandler, authentication=auth)
    20 text_export_handler = Resource(handler=TextExportHandler, authentication=auth)
    21 
    21 
    22 comments_handler = Resource(handler=CommentsHandler, authentication=auth)
    22 comments_handler = Resource(handler=CommentsHandler, authentication=auth)
       
    23 
       
    24 convert_handler = Resource(handler=ConvertHandler, authentication=auth)
    23 
    25 
    24 client_handler = Resource(handler=ClientHandler, authentication=auth)
    26 client_handler = Resource(handler=ClientHandler, authentication=auth)
    25 
    27 
    26 jsi8n_handler = Resource(handler=JSI18NHandler, authentication=None)
    28 jsi8n_handler = Resource(handler=JSI18NHandler, authentication=None)
    27 
    29 
    46    url(r'^text/(?P<key>\w*)/delete/$', text_delete_handler),
    48    url(r'^text/(?P<key>\w*)/delete/$', text_delete_handler),
    47    url(r'^text/(?P<key>\w*)/pre_edit/$', text_pre_edit_handler),
    49    url(r'^text/(?P<key>\w*)/pre_edit/$', text_pre_edit_handler),
    48    url(r'^text/(?P<key>\w*)/edit/$', text_edit_handler),
    50    url(r'^text/(?P<key>\w*)/edit/$', text_edit_handler),
    49    url(r'^text/(?P<key>\w*)/(?P<version_key>\w*)/$', textversion_handler),
    51    url(r'^text/(?P<key>\w*)/(?P<version_key>\w*)/$', textversion_handler),
    50    url(r'^comments/$', comments_handler),
    52    url(r'^comments/$', comments_handler),
       
    53    url(r'^convert/$', convert_handler),
    51    url(r'^client/$', client_handler),
    54    url(r'^client/$', client_handler),
    52    url(r'^jsi18n/$', jsi8n_handler),
    55    url(r'^jsi18n/$', jsi8n_handler),
    53    url(r'^doc/$', documentation),
    56    url(r'^doc/$', documentation),
    54 )
    57 )