Commit 14cfbd1c authored by delanoe's avatar delanoe

Merge branch 'testing' into stable

parents 581d04bd 119a0990
...@@ -2,7 +2,7 @@ from urllib.parse import urljoin ...@@ -2,7 +2,7 @@ from urllib.parse import urljoin
import json import json
import datetime import datetime
from django.shortcuts import render_to_response from django.shortcuts import render
from django.template import RequestContext from django.template import RequestContext
from django.contrib.auth.decorators import login_required from django.contrib.auth.decorators import login_required
...@@ -25,12 +25,11 @@ def main(request, project_id, corpus_id, document_id, optional_focus_ngram): ...@@ -25,12 +25,11 @@ def main(request, project_id, corpus_id, document_id, optional_focus_ngram):
NB: url params are NOT used here (angular has its own url regex in app.js) NB: url params are NOT used here (angular has its own url regex in app.js)
""" """
return render_to_response('annotations/main.html', { context = { 'api_url' : urljoin(request.get_host(), '/annotations/')
# TODO use reverse() , 'garg_url' : request.get_host()
'api_url': urljoin(request.get_host(), '/annotations/'), , 'nodes_api_url': urljoin(request.get_host(), '/api/')
'garg_url': request.get_host(), }
'nodes_api_url': urljoin(request.get_host(), '/api/'), return render(request, 'annotations/main.html', context)
}, context_instance=RequestContext(request))
class NgramList(APIView): class NgramList(APIView):
"""Read the lists of ngrams (terms) that will become annotations""" """Read the lists of ngrams (terms) that will become annotations"""
......
# try bottleneck # try bottleneck
amqp==1.4.9 amqp==1.4.9
anyjson==0.3.3 anyjson==0.3.3
billiard==3.3.0.22 # multiprocessing fork billiard==3.3.0.23
celery==3.1.20 celery==3.1.25
chardet==2.3.0 chardet==2.3.0
dateparser==0.3.5 dateparser==0.3.5
Django==1.9.2 Django==1.10.5
django-celery==3.1.17 django-celery==3.2.1
django-pgfields==1.4.4 django-pgfields==1.4.4
django-pgjsonb==0.0.16 django-pgjsonb==0.0.23
djangorestframework==3.3.2 djangorestframework==3.5.3
html5lib==0.9999999 html5lib==0.9999999
python-igraph>=0.7.1 python-igraph>=0.7.1
jdatetime==1.7.2 jdatetime==1.7.2
kombu==3.0.33 # messaging kombu==3.0.37 # messaging
langdetect==1.0.6 #detectinglanguage langdetect==1.0.6 #detectinglanguage
nltk==3.1 nltk==3.1
numpy==1.10.4 numpy==1.10.4
psycopg2==2.6.1 psycopg2==2.6.2
pycountry==1.20 pycountry==1.20
python-dateutil==2.4.2 python-dateutil==2.4.2
pytz==2015.7 # timezones pytz==2016.10 # timezones
PyYAML==3.11 PyYAML==3.11
RandomWords==0.1.12 RandomWords==0.1.12
ujson==1.35 ujson==1.35
umalqurra==0.2 # arabic calendars (?? why use ??) umalqurra==0.2 # arabic calendars (?? why use ??)
wheel==0.29.0
networkx==1.11 networkx==1.11
pandas==0.18.0 pandas==0.18.0
six==1.10.0 six==1.10.0
......
...@@ -367,7 +367,7 @@ ...@@ -367,7 +367,7 @@
<p> <p>
Gargantext Gargantext
<span class="glyphicon glyphicon-registration-mark" aria-hidden="true"></span> <span class="glyphicon glyphicon-registration-mark" aria-hidden="true"></span>
, version 3.0.6.5, , version 3.0.6.6,
<a href="http://www.cnrs.fr" target="blank" title="Institution that enables this project."> <a href="http://www.cnrs.fr" target="blank" title="Institution that enables this project.">
Copyrights Copyrights
<span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span> <span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span>
......
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