|
@ -1490,6 +1490,7 @@ class TramitacaoEmLoteFilterSet(django_filters.FilterSet): |
|
|
|
|
|
|
|
|
class TipoProposicaoForm(ModelForm): |
|
|
class TipoProposicaoForm(ModelForm): |
|
|
|
|
|
|
|
|
|
|
|
try: |
|
|
content_types_choices = [ |
|
|
content_types_choices = [ |
|
|
( |
|
|
( |
|
|
f'{ct.app_label}/{ct.model}', |
|
|
f'{ct.app_label}/{ct.model}', |
|
@ -1499,6 +1500,8 @@ class TipoProposicaoForm(ModelForm): |
|
|
*models_with_gr_for_model(TipoProposicao) |
|
|
*models_with_gr_for_model(TipoProposicao) |
|
|
).items() |
|
|
).items() |
|
|
] |
|
|
] |
|
|
|
|
|
except: |
|
|
|
|
|
content_types_choices = [] |
|
|
|
|
|
|
|
|
logger = logging.getLogger(__name__) |
|
|
logger = logging.getLogger(__name__) |
|
|
|
|
|
|
|
|