django-xadmin使用之配置页眉页脚
环境:xadmin-for-python3 python3.5.2 django1.9.12
在模块的adminx.py文件中增加以下代码即可:
# TIP 定义页头页脚 class GlobalSettings(object): site_title = 'My Data Center' site_footer = 'Data Center Inc.' # menu_style = 'accordion' xadmin.site.register(xadmin.views.CommAdminView, GlobalSettings)