src/restapi/urls.py
author durandn
Wed, 29 Jun 2016 14:56:27 +0200
changeset 42 51257e2701d9
parent 6 37baf9d13f32
permissions -rw-r--r--
streamlined comment system, replicated post_comment view so form errors redirect on the annotation page and not on a preview page + added revision detail view and links for specific revisions from the comments

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