web/ldt/text/urls.py
author wakimd
Wed, 17 Nov 2010 18:57:34 +0100
changeset 16 d0f617472760
parent 9 22ab430e9b64
permissions -rw-r--r--
Added tests on server + some corrections on views
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     1
from django.conf.urls.defaults import *
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     2
from ldt.management import test_ldt
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     3
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     4
# Uncomment the next two lines to enable the admin:
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     5
# from django.contrib import admin
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     6
# admin.autodiscover()
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     7
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
     8
urlpatterns = patterns('ldt.text',
16
d0f617472760 Added tests on server + some corrections on views
wakimd
parents: 9
diff changeset
     9
    url(r'^create/$', 'views.create_annotation'),
9
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    10
    url(r'^filter/(?P<uri>.*)/(?P<filter>.*)/(?P<limit>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    11
    url(r'^filter/(?P<uri>.*)/(?P<filter>.*)/(?P<limit>.*)$', 'views.filter_annotation'),
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    12
    url(r'^filter/(?P<uri>.*)/(?P<filter>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    13
    url(r'^filter/(?P<uri>.*)/(?P<limit>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    14
    url(r'^filter/(?P<uri>.*)/(?P<limit>.*)$', 'views.filter_annotation'),
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    15
    url(r'^filter/(?P<uri>.*)/(?P<creator>.*)$', 'views.filter_annotation'),
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    16
    url(r'^filter/(?P<uri>.*)$', 'views.filter_annotation'),
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    17
    url(r'^get/(?P<id>.*)$', 'views.get_annotation'),
16
d0f617472760 Added tests on server + some corrections on views
wakimd
parents: 9
diff changeset
    18
    url(r'^delete/$', 'views.delete_annotation'),
d0f617472760 Added tests on server + some corrections on views
wakimd
parents: 9
diff changeset
    19
    url(r'^update/$', 'views.update_annotation'),
9
22ab430e9b64 Corrections on models and general structure
wakimd
parents:
diff changeset
    20
)