tags:

views:

61

answers:

1

I am using Pydev with Django 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?

A: 

If I remember correctly, go to window / preferences / pydev / editor / code analysis / undefined, add your variables to globals there.

shanyu