Browse Source

Define layout documento acessório

pull/425/head
Eduardo Edson Batista Cordeiro Alves 9 years ago
parent
commit
d4a6be0a24
  1. 2
      materia/views.py

2
materia/views.py

@ -2,6 +2,7 @@ import os
from datetime import datetime from datetime import datetime
from random import choice from random import choice
from string import ascii_letters, digits from string import ascii_letters, digits
from crispy_layout_mixin import form_actions
from crispy_forms.helper import FormHelper from crispy_forms.helper import FormHelper
from crispy_forms.layout import HTML, Button from crispy_forms.layout import HTML, Button
@ -167,7 +168,6 @@ class DocumentoAcessorioCrud(MasterDetailCrud):
form_class = DocumentoAcessorioForm form_class = DocumentoAcessorioForm
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(CreateView, self).__init__(*args, **kwargs)
autor_row = crispy_layout_mixin.to_row( autor_row = crispy_layout_mixin.to_row(
[('autor', 0), [('autor', 0),
(Button('pesquisar', (Button('pesquisar',

Loading…
Cancel
Save