Add initial database erase support

This commit is contained in:
Roberto Rosario
2012-07-26 05:03:02 -04:00
parent bccc228fa0
commit ac65a6db76
7 changed files with 74 additions and 16 deletions

View File

@@ -7,3 +7,4 @@ def is_superuser(context):
database_bootstrap = {'text': _(u'bootstrap database'), 'view': 'bootstrap_type_list', 'icon': 'database_lightning.png', 'condition': is_superuser}#, 'children_view_regex': [r'statistics']}
bootstrap_execute = {'text': _(u'execute'), 'view': 'bootstrap_execute', 'args': 'object.name', 'sprite': 'database_lightning.png', 'condition': is_superuser}#, 'children_view_regex': [r'statistics']}
erase_database_link = {'text': _(u'erase database'), 'view': 'erase_database_view', 'icon': 'radioactivity.png', 'condition': is_superuser}#, 'children_view_regex': [r'statistics']}