Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=4502000
By: pm13
I use Django Web framework. It defines some attributes and methods in
metaclasses
- directly and by "dispatchers". The second way means that a metaclass sends
an message about creating of a class and an other component receives it and
adds something to the new class.
Example:
class MyModel(models.Model):
...
MyModel._meta - defined by metaclass.
MyModel.objects - defined by an method that was registered to receive messages
about creating of the class.
But PyDev does not know about these attributes and marked them as errors. Is
there any way how to tell to PyDev not to mark some names? I know that there
is settings "Consider the following names as globals" but I think that it does
not work for attributes.
I use Pydev and Pydev Extensions 1.3.8.
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users