美文网首页
Python 报错:Class has no 'objects'

Python 报错:Class has no 'objects'

作者: 捞小虾 | 来源:发表于2020-01-20 16:41 被阅读0次

    问题描述


    • 使用 visual studio code,引用类时报错 Class has no 'objects' member in django

    问题解决


    • 安装pylint-django
    pip3 install pylint-django
    
    • 配置 visual studio code


      配置位置
      配置参数

    相关文章

      网友评论

          本文标题:Python 报错:Class has no 'objects'

          本文链接:https://www.haomeiwen.com/subject/wrwjzctx.html