diff --git a/sapl/base/views.py b/sapl/base/views.py index b2966bdda..70725432d 100644 --- a/sapl/base/views.py +++ b/sapl/base/views.py @@ -12,7 +12,6 @@ from django.template import TemplateDoesNotExist from django.template.loader import get_template from django.utils.encoding import force_bytes from django.utils.http import urlsafe_base64_decode, urlsafe_base64_encode -from django.utils.translation import ugettext_lazy as _ from django.utils.translation import string_concat from django.views.generic import (CreateView, DeleteView, DetailView, FormView, ListView, UpdateView) @@ -73,6 +72,7 @@ class TipoAutorCrud(CrudAux): return vn class ListView(CrudAux.ListView): + template_name = "base/tipoautor_list.html" def get_queryset(self): qs = CrudAux.ListView.get_queryset(self) diff --git a/sapl/templates/base/tipoautor_list.html b/sapl/templates/base/tipoautor_list.html index e7aaf98db..e6996dc7f 100644 --- a/sapl/templates/base/tipoautor_list.html +++ b/sapl/templates/base/tipoautor_list.html @@ -1,4 +1,4 @@ -{% extends "crud/list.html" %} +{% extends "crud/list_tabaux.html" %} {% load i18n base_tags %}