From 4abc866a537c8f4df9e2179dafd4a64175188424 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 20 Nov 2014 03:32:34 -0400 Subject: [PATCH] Add TODO reminder --- mayan/apps/document_indexing/api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mayan/apps/document_indexing/api.py b/mayan/apps/document_indexing/api.py index 1f5826432a..b8cde915f6 100644 --- a/mayan/apps/document_indexing/api.py +++ b/mayan/apps/document_indexing/api.py @@ -28,6 +28,7 @@ def update_indexes(document): """ Update or create all the index instances related to a document """ + # TODO: convert this fuction into a manager method warnings = [] @@ -48,6 +49,8 @@ def delete_indexes(document): Delete all the index instances related to a document """ + # TODO: convert this fuction into a manager method + warnings = [] for index_node in document.node_instances.all():