Browse Source

Correct ContatoInline contact list to display in CasaAtendidaAdmin

pull/11/head
Sesostris Vieira 8 years ago
parent
commit
8cbc17c913
  1. 4
      sigi/apps/servicos/admin.py

4
sigi/apps/servicos/admin.py

@ -170,7 +170,9 @@ class ServicoAdmin(BaseModelAdmin):
class ContatosInline(FuncionariosInline):
can_delete = False # Equipe do SEIT não pode excluir pessoas de contato
# SEIT see all contacts, including President
def get_queryset(self, request):
return self.model.objects.all()
class CasaAtendidaAdmin(BaseModelAdmin):
actions = None

Loading…
Cancel
Save