Browse Source

modifica layout de cadastro de tipoautor

pull/1759/head
LeandroRoberto 7 years ago
parent
commit
fd431d0bf9
  1. 2
      sapl/base/views.py
  2. 2
      sapl/templates/base/tipoautor_list.html

2
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)

2
sapl/templates/base/tipoautor_list.html

@ -1,4 +1,4 @@
{% extends "crud/list.html" %}
{% extends "crud/list_tabaux.html" %}
{% load i18n base_tags %}

Loading…
Cancel
Save