src/restapi/urls.py
author durandn
Mon, 11 Jul 2016 14:51:49 +0200
changeset 64 4d1e369e85d4
parent 6 37baf9d13f32
permissions -rw-r--r--
Added a verbose name field for collection objects, home view now gets a list of all collections

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)
]