diff --git a/sigi/apps/eventos/admin.py b/sigi/apps/eventos/admin.py index a0ea07a..e9ef123 100644 --- a/sigi/apps/eventos/admin.py +++ b/sigi/apps/eventos/admin.py @@ -915,7 +915,9 @@ class EventoAdmin(CartExportMixin, admin.ModelAdmin): pdf.write_pdf(target=response) return response else: - form = SelecionaModeloForm() + form = SelecionaModeloForm( + initial={"modelo": ModeloDeclaracao.objects.first().id} + ) context = { "form": form,