src/restapi/urls.py
author Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
Thu, 16 Jun 2016 12:26:13 +0200
changeset 20 91e7f0429e4f
parent 6 37baf9d13f32
permissions -rw-r--r--
editing urls.py to add new annotations views

from django.conf.urls import url
from . import views

urlpatterns = [
	url(r'^$', views.index, name='index'),
	url(r'annotation$', views.annotation_list),
	url(r'annotation/(?P<pk>[0-9]+)/$', views.get)
]