From 9a30ac3434fdae81606994601dde5223aeeaeaa7 Mon Sep 17 00:00:00 2001 From: Cesar Carvalho Date: Fri, 4 Oct 2019 10:19:55 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20Crud=20desnecess=C3=A1rio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/urls.py | 2 +- sapl/base/views.py | 3 --- sapl/templates/base/autoruser_form.html | 13 +------------ 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/sapl/base/urls.py b/sapl/base/urls.py index 3d042fc70..778733e7b 100644 --- a/sapl/base/urls.py +++ b/sapl/base/urls.py @@ -39,7 +39,7 @@ from .views import (AlterarSenha, AppConfigCrud, CasaLegislativaCrud, ListarLegislaturaInfindavelView, ListarAnexadasCiclicasView, ListarAnexadosCiclicosView, pesquisa_textual, RelatorioHistoricoTramitacaoAdmView, RelatorioDocumentosAcessoriosView, - RelatorioNormasPorAutorView, AutorUserCrud, AutorUserFormView, + RelatorioNormasPorAutorView, AutorUserFormView, deleta_autoruser) diff --git a/sapl/base/views.py b/sapl/base/views.py index 783864fe2..7113d0052 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -116,9 +116,6 @@ def get_casalegislativa(): return CasaLegislativa.objects.first() -AutorUserCrud = CrudAux.build(AutorUser, 'autor_user') - - class ConfirmarEmailView(TemplateView): template_name = "email/confirma.html" diff --git a/sapl/templates/base/autoruser_form.html b/sapl/templates/base/autoruser_form.html index 35b7604da..a7c7409c8 100644 --- a/sapl/templates/base/autoruser_form.html +++ b/sapl/templates/base/autoruser_form.html @@ -1,13 +1,2 @@ {% extends "crud/form.html" %} -{% load i18n %} - -{% block extra_js %} - - - -{% endblock %} \ No newline at end of file +{% load i18n %} \ No newline at end of file