Commit 1325bf54 authored by delanoe's avatar delanoe

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

parent 2fde4f2d
...@@ -4,7 +4,8 @@ from annotations import views ...@@ -4,7 +4,8 @@ from annotations import views
# /!\ urls patterns here are *without* the trailing slash # /!\ urls patterns here are *without* the trailing slash
urlpatterns = patterns('', urlpatterns = [
# json:title,id,authors,journal, # json:title,id,authors,journal,
# publication_date # publication_date
# abstract_text,full_text # abstract_text,full_text
...@@ -16,4 +17,4 @@ urlpatterns = patterns('', ...@@ -16,4 +17,4 @@ urlpatterns = patterns('',
# url(r'^lists/(?P<list_id>[0-9]+)/ngrams/(?P<ngram_ids>[0-9,\+]+)+$', views.NgramEdit.as_view()), # url(r'^lists/(?P<list_id>[0-9]+)/ngrams/(?P<ngram_ids>[0-9,\+]+)+$', views.NgramEdit.as_view()),
# POST (fixed 2015-12-16) # POST (fixed 2015-12-16)
# url(r'^lists/(?P<list_id>[0-9]+)/ngrams/create$', views.NgramCreate.as_view()), # # 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