# append an app list module for "Applications"
self.children.append(modules.AppList(
_('Applications'),
- exclude=('django.contrib.*',
+ models=(
+ 'project.dae.models.*',
+ 'project.recrutement.models.*',
'project.rh.models.AyantDroit',
+ 'project.rh.models.Dossier',
+ 'project.rh.models.Employe',
+ 'project.rh.models.Poste',
+ ),
+ ))
+
+ # append an app list module for "Configuration"
+ self.children.append(modules.AppList(
+ _('Configuration'),
+ models=(
'project.rh.models.Classement',
'project.rh.models.Devise',
'project.rh.models.FamilleEmploi',
),
))
+ # append an app list module for "Inter-systèmes"
+ self.children.append(modules.AppList(
+ _(u'Inter-systèmes'),
+ models=(
+ 'project.rh.models.ResponsableImplantation',
+ ),
+ ))
+
# append an app list module for "Administration"
self.children.append(modules.AppList(
_('Administration'),
- models=('django.contrib.*',),
+ models=(
+ 'django.contrib.*',
+ ),
))
# append a recent actions module