From 180192e6007f2b3dd1748a02bd4160e667bb5878 Mon Sep 17 00:00:00 2001 From: Luciano Almeida Date: Tue, 9 Aug 2016 13:14:12 -0300 Subject: [PATCH] Correct error caused by django version upgrade in Ocorrencias Signed-off-by: Luciano Almeida --- sigi/apps/ocorrencias/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/ocorrencias/admin.py b/sigi/apps/ocorrencias/admin.py index ccf8d88..59fcdf0 100644 --- a/sigi/apps/ocorrencias/admin.py +++ b/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)