Commit f6398952 authored by delanoe's avatar delanoe

[CLEAN] cosmetics.

parent 8715a750
...@@ -78,7 +78,6 @@ from rest_framework.decorators import api_view ...@@ -78,7 +78,6 @@ from rest_framework.decorators import api_view
class List(APIView): class List(APIView):
def get(self, request, corpus_id , list_name ): def get(self, request, corpus_id , list_name ):
corpus = session.query(Node).filter( Node.id==corpus_id ).first() corpus = session.query(Node).filter( Node.id==corpus_id ).first()
list_name = list_name.title()+"List" list_name = list_name.title()+"List"
...@@ -94,7 +93,6 @@ class List(APIView): ...@@ -94,7 +93,6 @@ class List(APIView):
return JsonHttpResponse(ngram_ids) return JsonHttpResponse(ngram_ids)
class Ngrams(APIView): class Ngrams(APIView):
''' '''
REST application to manage ngrams REST application to manage ngrams
......
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