xadmin下设置“use_bootswatch = True”无效解决方案
环境:python 2.7django 1.9xadmin采用源代码的方式引入到项目中在xadmin使用的过程中,设置“use_bootswatch = True”,企图调出主题菜单,显示更多主题。然而设置了后,发现主题还是默认和bootstrap2,深入跟踪源代码,发现/xadmin/plugins/themes.py下的block_top_navmenu方法,当use_bootswatch 为
转载
2018-01-18 18:35:02 ·
458 阅读 ·
0 评论