ck@ykport.com.cn

  • 内容:为什么没在虚拟环境报错呢。

  • 内容:Request Method: GET Request URL: http://127.0.0.1:8000/admin/blog/article/add/ Django Version: 3.0.5 Exception Type: TypeError Exception Value: render() got an unexpected keyword argument 'renderer' **Exception Location: C:\Users\CK\AppData\Local\Programs\Python\Python38\lib\site-packages\django\forms\boundfield.py in as_widget, line 92** Python Executable: E:\course\myblog\myblogvenv\Scripts\python.exe Python Version: 3.8.2 Python Path: ['E:\\course\\myblog', 'C:\\Users\\CK\\AppData\\Local\\Programs\\Python\\Python38\\lib\\site-packages', 'E:\\course\\myblog', 'C:\\Program Files\\JetBrains\\PyCharm 2019.1.2\\helpers\\pycharm_display', 'C:\\Users\\CK\\AppData\\Local\\Programs\\Python\\Python38\\python38.zip', 'C:\\Users\\CK\\AppData\\Local\\Programs\\Python\\Python38\\DLLs', 'C:\\Users\\CK\\AppData\\Local\\Programs\\Python\\Python38\\lib', 'C:\\Users\\CK\\AppData\\Local\\Programs\\Python\\Python38', 'E:\\course\\myblog\\myblogvenv', 'E:\\course\\myblog\\myblogvenv\\lib\\site-packages', 'C:\\Program Files\\JetBrains\\PyCharm ' '2019.1.2\\helpers\\pycharm_matplotlib_backend']