Browse Source

arrumando bug do model proxy funcionario

diagnosticos
Felipe Vieira 13 years ago
parent
commit
371eb45fef
  1. 2
      sigi/apps/casas/admin.py

2
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

Loading…
Cancel
Save