Browse Source

Move parliaments admin templates to default directory

producao
Marcio Mazza 10 years ago
parent
commit
202f69b7a2
  1. 2
      sigi/apps/casas/admin.py
  2. 0
      sigi/apps/casas/templates/admin/casas/change_form.html
  3. 0
      sigi/apps/casas/templates/admin/casas/change_list.html

2
sigi/apps/casas/admin.py

@ -161,8 +161,6 @@ class OcorrenciaInline(admin.TabularInline):
class CasaLegislativaAdmin(admin.ModelAdmin): class CasaLegislativaAdmin(admin.ModelAdmin):
form = CasaLegislativaForm form = CasaLegislativaForm
change_form_template = 'casas/change_form.html'
change_list_template = 'casas/change_list.html'
actions = ['adicionar_casas', ] actions = ['adicionar_casas', ]
inlines = (TelefonesInline, PresidenteInline, FuncionariosInline, ConveniosInline, LegislaturaInline, inlines = (TelefonesInline, PresidenteInline, FuncionariosInline, ConveniosInline, LegislaturaInline,
DiagnosticoInline, BemInline, ServicoInline, PlanoDiretorInline, OcorrenciaInline, ) DiagnosticoInline, BemInline, ServicoInline, PlanoDiretorInline, OcorrenciaInline, )

0
sigi/apps/casas/templates/casas/change_form.html → sigi/apps/casas/templates/admin/casas/change_form.html

0
sigi/apps/casas/templates/casas/change_list.html → sigi/apps/casas/templates/admin/casas/change_list.html

Loading…
Cancel
Save