diff --git a/sigi/apps/casas/admin.py b/sigi/apps/casas/admin.py index 8869d02..bc86095 100644 --- a/sigi/apps/casas/admin.py +++ b/sigi/apps/casas/admin.py @@ -161,8 +161,6 @@ class OcorrenciaInline(admin.TabularInline): class CasaLegislativaAdmin(admin.ModelAdmin): form = CasaLegislativaForm - change_form_template = 'casas/change_form.html' - change_list_template = 'casas/change_list.html' actions = ['adicionar_casas', ] inlines = (TelefonesInline, PresidenteInline, FuncionariosInline, ConveniosInline, LegislaturaInline, DiagnosticoInline, BemInline, ServicoInline, PlanoDiretorInline, OcorrenciaInline, ) diff --git a/sigi/apps/casas/templates/casas/change_form.html b/sigi/apps/casas/templates/admin/casas/change_form.html similarity index 100% rename from sigi/apps/casas/templates/casas/change_form.html rename to sigi/apps/casas/templates/admin/casas/change_form.html diff --git a/sigi/apps/casas/templates/casas/change_list.html b/sigi/apps/casas/templates/admin/casas/change_list.html similarity index 100% rename from sigi/apps/casas/templates/casas/change_list.html rename to sigi/apps/casas/templates/admin/casas/change_list.html