Commit a553824b authored by Romain Loth's avatar Romain Loth

comment

parent f50c45bf
...@@ -373,6 +373,10 @@ class ListChange(APIView): ...@@ -373,6 +373,10 @@ class ListChange(APIView):
def put(self, request): def put(self, request):
""" """
Adds one or more ngrams to a list. Adds one or more ngrams to a list.
NB: we assume ngram_ids don't contain subforms !!
(this assumption is not checked here because it would be
slow: if you want to add a subform, send the mainform's id)
""" """
# union of items ---------------------------- # union of items ----------------------------
new_list = self.base_list + self.change_list new_list = self.base_list + self.change_list
......
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