Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5008401 By: huuuze
I've run into a roadblock with code completion using PyDev. In my example, I have a class that inherits from a Django class named Model. Example: >> from django.db import models >> class MyClass(models.Model): >> ..do something.. When I invoke MyClass in another file (specifically a views.py), the code completion does not recognize the members that MyClass has inherited from Model. Example: >> from mypackage.models import MyClass >> mc = MyClass.objects.all() The code completion fails to display the ".objects" member of that class. At first, I thought I was having PYTHONPATH issues, but when I open a Python shell and execute a "dir(MyClass)", I can see "objects" as an available member of MyClass. Is this a bug/limitation in PyDev (doesn't seem to work with PyDev Extensions either) or have I missed a setting? ______________________________________________________________________ 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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Pydev-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-users
