Sistema de Informações Gerenciais do Interlegis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
502 B

from django.contrib.admin.sites import AdminSite
from django.contrib.sites.admin import Site, SiteAdmin
from maintenancemode.admin import AllowedPath, AllowedPathAdmin
from sigi.apps.casas.admin import CasaLegislativa, CasaLegislativaAdmin
class DefaultSite(AdminSite):
index_template = 'index.html'
login_template = 'login.html'
default = DefaultSite()
default.register(Site, SiteAdmin)
default.register(AllowedPath, AllowedPathAdmin)
default.register(CasaLegislativa, CasaLegislativaAdmin)