diff --git a/sigi/apps/casas/admin.py b/sigi/apps/casas/admin.py index 443d5d0..3b2d059 100644 --- a/sigi/apps/casas/admin.py +++ b/sigi/apps/casas/admin.py @@ -28,6 +28,8 @@ class FuncionariosInline(admin.StackedInline): model = Funcionario extra = 1 inlines = (TelefonesInline) + def queryset(self, request): + return self.model.objects.exclude(cargo="Presidente") class ConveniosInline(admin.TabularInline): model = Convenio