安装:
github 地址:https://github.com/sshwsfc/xadmin
1 .下载项目
2. 安装:
在项目中新建extra_app,
将下载的项目里面的xadmin文件夹复制到extra_app中,
在setting.py中设置:sys.path.insert(0, os.path.join(BASE_DIR, 'extra_apps'))
INSTALL_APPS中添加 xadmin和crispy_forms
3.排错:
(1) No module named import_export.admin
pip install django-import-export
参考:
安装django2.0的xadmin
xadmin安装遇到的错误