Commit 1325bf54 authored by delanoe's avatar delanoe

[FIX] urlpatterns deprecated next versions of Django, should be a list only.

parent 2fde4f2d
......@@ -4,8 +4,9 @@ from annotations import views
# /!\ urls patterns here are *without* the trailing slash
urlpatterns = patterns('',
# json:title,id,authors,journal,
urlpatterns = [
# json:title,id,authors,journal,
# publication_date
# abstract_text,full_text
url(r'^documents/(?P<doc_id>[0-9]+)$', views.Document.as_view()), # document view
......@@ -16,4 +17,4 @@ urlpatterns = patterns('',
# url(r'^lists/(?P<list_id>[0-9]+)/ngrams/(?P<ngram_ids>[0-9,\+]+)+$', views.NgramEdit.as_view()),
# POST (fixed 2015-12-16)
# url(r'^lists/(?P<list_id>[0-9]+)/ngrams/create$', views.NgramCreate.as_view()), #
)
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment