from django.conf.urls.defaults import *
from ldt.management import test_ldt

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('ldt.text',
    url(r'^create/(?P<content>.*)$', 'views.create_annotation'),
    url(r'^filter/(?P<uri>.*)/(?P<filter>.*)/(?P<limit>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
    url(r'^filter/(?P<uri>.*)/(?P<filter>.*)/(?P<limit>.*)$', 'views.filter_annotation'),
    url(r'^filter/(?P<uri>.*)/(?P<filter>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
    url(r'^filter/(?P<uri>.*)/(?P<limit>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
    url(r'^filter/(?P<uri>.*)/(?P<limit>.*)$', 'views.filter_annotation'),
    url(r'^filter/(?P<uri>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
    url(r'^filter/(?P<uri>.*)$', 'views.filter_annotation'),
    url(r'^get/(?P<id>.*)$', 'views.get_annotation'),
    url(r'^delete/(?P<id>.*)$', 'views.delete_annotation'),
    url(r'^update/(?P<content>.*)/(?P<id>.*)$', 'views.update_annotation'),
)