Commit 0f4bb6cb authored by Romain Loth's avatar Romain Loth

fix access url to ngram table

parent 39b176f9
from gargantext.util.http import requires_auth, render, settings
from gargantext.util.db import session
from gargantext.util.http import requires_auth, render, settings
from gargantext.util.db import session
from gargantext.util.db_cache import cache
from gargantext.models import Node
# from gargantext.constants import *
#
# from gargantext.util.scheduling import scheduled
# from gargantext.util.toolchain import parse_extract
from datetime import datetime
from gargantext.models import Node
from datetime import datetime
@requires_auth
def ngramlists(request, project_id, corpus_id):
def ngramtable(request, project_id, corpus_id):
'''
Browse and modify all lists together.
=> maplist and mainlist terms in a table
......
from django.conf.urls import url
from . import main, auth
from . import projects, corpora
from . import projects, corpora, terms
urlpatterns = [
......@@ -25,4 +25,7 @@ urlpatterns = [
# corpus by journals
url(r'^projects/(\d+)/corpora/(\d+)/journals/?$', corpora.docs_by_journals),
# terms table for the corpus
url(r'^projects/(\d+)/corpora/(\d+)/terms/?$', terms.ngramtable),
]
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