--- a/src/cm/api/urls.py Fri Sep 14 09:49:27 2012 +0200
+++ b/src/cm/api/urls.py Fri Sep 14 09:50:05 2012 +0200
@@ -18,6 +18,7 @@
tv_delete_handler = Resource(handler=TextVersionDeleteHandler, authentication=auth)
text_export_handler = Resource(handler=TextExportHandler, authentication=auth)
+import_handler = Resource(handler=ImportHandler, authentication=auth)
comments_handler = Resource(handler=CommentsHandler, authentication=auth)
@@ -43,6 +44,7 @@
url(r'^text/(?P<key>\w*)/comments/(?P<version_key>\w*)/$', comment_handler),
url(r'^text/(?P<key>\w*)/export/(?P<format>\w*)/(?P<download>\w*)/(?P<whichcomments>\w*)/(?P<withcolor>\w*)/$', text_export_handler),
+ url(r'^import/$', import_handler),
url(r'^text/(?P<key>\w*)/feed/$', text_feed_handler),
url(r'^text/(?P<key>\w*)/delete/$', text_delete_handler),