Add bootstrap model dependecies support

This commit is contained in:
Roberto Rosario
2012-10-08 18:50:07 -04:00
parent 82299a49c4
commit efc41ad9c7
8 changed files with 89 additions and 7 deletions

View File

@@ -5,10 +5,12 @@ from .cleanup import cleanup
bootstrap_models = [
{
'name': 'index',
'dependencies': ['documents.documenttype']
},
{
'name': 'indextemplatenode',
'sanitize': False,
'dependencies': ['document_indexing.index']
}
]
cleanup_functions = [cleanup]