今天从GitHub上clone了typeidea项目。python2.7虚拟环境。然后切换到了第十章的分支。
并安装了相关依赖包,但是启动时候报错:
查了下原因,说是django 1.11 Lib\site-packages\django\forms\widgets.py 中已经没有了RadioFieldRenderer这个类 好多类已经修改,建议使用django低版本。
请问胡大是怎么解决的。
xadmin的问题,如果使用Django1.11的话,直接安装:
pip install https://github.com/the5fire/django-xadmin/archive/0.6.1.zip
如果是Django2.0的版本,直接安装:
pip install https://github.com/the5fire/django-xadmin/archive/2.0.1.zip