Browse Source

Correct error caused by django version upgrade in Ocorrencias

Signed-off-by: Luciano Almeida <lucianoalmeida@interlegis.leg.br>
pull/6/head
Luciano Almeida 9 years ago
committed by Luciano Almeida
parent
commit
180192e600
  1. 2
      sigi/apps/ocorrencias/admin.py

2
sigi/apps/ocorrencias/admin.py

@ -52,7 +52,7 @@ class OcorrenciaChangeList(ChangeList):
if 'grupo' in self.params:
grupo = self.params['grupo']
del self.params['grupo']
qs = super(OcorrenciaChangeList, self).get_query_set(request)
qs = super(OcorrenciaChangeList, self).get_queryset(request)
self.params = tmp_params.copy()
if grupo:
servidor = Servidor.objects.get(user=self.request.user)

Loading…
Cancel
Save