Backport statistics app, remove statistic code from the main app, convert the documents and ocr apps to use the new statictics app code

This commit is contained in:
Roberto Rosario
2014-07-04 01:46:16 -04:00
parent 74388515d9
commit d19f3da730
39 changed files with 1555 additions and 61 deletions
+10
View File
@@ -0,0 +1,10 @@
from __future__ import absolute_import
from navigation.api import register_links, register_model_list_columns
from .classes import Statistic, StatisticNamespace
from .links import link_execute, link_namespace_details, link_namespace_list
register_links(StatisticNamespace, [link_namespace_details])
register_links([StatisticNamespace, 'statistics:namespace_list', 'statistics:execute'], [link_namespace_list], menu_name='secondary_menu')
register_links(Statistic, [link_execute])