Initial changes to support the new Django 1.6 project structure
This commit is contained in:
16
mayan/apps/document_indexing/registry.py
Normal file
16
mayan/apps/document_indexing/registry.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from .cleanup import cleanup
|
||||
|
||||
bootstrap_models = [
|
||||
{
|
||||
'name': 'index',
|
||||
'dependencies': ['documents.documenttype']
|
||||
},
|
||||
{
|
||||
'name': 'indextemplatenode',
|
||||
'sanitize': False,
|
||||
'dependencies': ['document_indexing.index']
|
||||
}
|
||||
]
|
||||
cleanup_functions = [cleanup]
|
||||
Reference in New Issue
Block a user