From f07a6ff632486bf4f2b09cf4afe6c2e2b3deb944 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 27 Jun 2019 16:13:30 -0300 Subject: [PATCH] =?UTF-8?q?Continua=C3=A7=C3=A3o=20do=20commit=20anterior?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 5adbf8b94..1e63b20a4 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -597,7 +597,7 @@ class ExpedienteMateriaCrud(MasterDetailCrud): form_class = ExpedienteMateriaForm def get_initial(self): - initial = super(UpdateView, self).get_initial() + initial = super().get_initial() initial['tipo_materia'] = self.object.materia.tipo.id initial['numero_materia'] = self.object.materia.numero initial['ano_materia'] = self.object.materia.ano