配置后台主题
import xadmin
from xadmin import views
from .models import Law
# 配置后台主题
class BaseSetting(object):
enable_themes = True
use_bootswatch = True
xadmin.site.register(views.BaseAdminView, BaseSetting)
配置后台系统名称和页脚版权、菜单样式
import xadmin
from xadmin import views
from