I am using Pydev with Django 开发者_StackOverflow社区which marks Django generated variables as errors, eg User.DoesNotExist
. In pylint I can specify a setting called generated variables. Is there such a setting in Pydev?
If I remember correctly, go to window / preferences / pydev / editor / code analysis / undefined, add your variables to globals there.
精彩评论