Update init files to register more app with the app registre app as well as the backup app

This commit is contained in:
Roberto Rosario
2012-08-17 03:33:39 -04:00
parent 29654c5f99
commit c9811c6a76
17 changed files with 170 additions and 79 deletions
+4
View File
@@ -2,6 +2,7 @@ from __future__ import absolute_import
from django.utils.translation import ugettext_lazy as _
from backups.api import AppBackup, ModelBackup
from icons.literals import APP
from navigation.api import bind_links
from project_tools.api import register_tool
@@ -19,3 +20,6 @@ try:
app = register_app('app_registry', label=_(u'App registry'), icon=APP)
except UnableToRegister:
pass
else:
AppBackup(app, [ModelBackup()])