|
@ -656,14 +656,11 @@ class ComposicaoColigacaoCrud(MasterDetailCrud): |
|
|
class LegislaturaCrud(CrudAux): |
|
|
class LegislaturaCrud(CrudAux): |
|
|
model = Legislatura |
|
|
model = Legislatura |
|
|
help_topic = 'legislatura' |
|
|
help_topic = 'legislatura' |
|
|
|
|
|
list_field_names = [ |
|
|
class BaseMixin(Crud.BaseMixin): |
|
|
'numero', |
|
|
ordered_list = False |
|
|
'data_eleicao', |
|
|
list_field_names = [ |
|
|
'data_inicio', |
|
|
'numero', |
|
|
'data_fim'] |
|
|
'data_eleicao', |
|
|
|
|
|
'data_inicio', |
|
|
|
|
|
'data_fim'] |
|
|
|
|
|
|
|
|
|
|
|
class CreateView(CrudAux.CreateView): |
|
|
class CreateView(CrudAux.CreateView): |
|
|
logger = logging.getLogger(__name__) |
|
|
logger = logging.getLogger(__name__) |
|
|