From 202f69b7a2002b5fa579fa2ba3c444d9bd7db755 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Wed, 8 Oct 2014 17:16:20 -0300 Subject: [PATCH] Move parliaments admin templates to default directory --- sigi/apps/casas/admin.py | 2 -- sigi/apps/casas/templates/{ => admin}/casas/change_form.html | 0 sigi/apps/casas/templates/{ => admin}/casas/change_list.html | 0 3 files changed, 2 deletions(-) rename sigi/apps/casas/templates/{ => admin}/casas/change_form.html (100%) rename sigi/apps/casas/templates/{ => admin}/casas/change_list.html (100%) 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