xadmin左侧边栏显示中文配置
app名:sysmonitor
sysmonitor/apps.py
#_*_ coding:utf-8 _*_ from __future__ import unicode_literals from django.apps import AppConfig class SysmonitorConfig(AppConfig): name = 'sysmonitor' verbose_name = u"网站监控"
sysmonitor/__init__.py
default_app_config = "sysmonitor.apps.SysmonitorConfig"