TypeError at /ansible/adhoclog
isinstance() arg 2 must be a class, type, or tuple of classes and types
Request Method: GET
Request URL: http://192.168.158.128:8000/ansible/adhoclog?taskid=2891268
Django Version: 1.8.2
Exception Type: TypeError
Exception Value:
isinstance() arg 2 must be a class, type, or tuple of classes and types
Exception Location: /root/imoocc/taskdo/views.py in default, line 31
Python Executable: /usr/bin/python
Python Version: 2.7.12
Python Path:
['/root/imoocc/extra_apps',
'/root/imoocc/apps',
'/root/imoocc',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages']
Server time: 星期二, 6 十一月 2018 22:48:55 +0800
跟老师一样的代码,访问http://192.168.158.128:8000/ansible/adhoclog?taskid=2891268的时候报了个错,不知道如何处理了
【课程升级3.6版本】大牛全面践行DevOps,运维与开发间高效协作
了解课程