Dynamic attributes in django
Brought to you by:
fabioz
Django use quite dynamic ways for construction of its structures. For example, following code is valid:
from django.contrib.auth.models import Group
Group.objects # created externally by ensure_default_manager
Group.add_to_class # method of ModelBase (model metaclass)
Group.DoesNotExists # created by ModelBase.__new__
But only objects are found by pydev, for add_to_class and DoesNotExists there is "undefined variable from import"
(I am not sure if I should add new bugs for this kind of problems - but pydev says it supports Django now. )