There is some problem with the parser recognizing package imports in
the from ... import ... syntax. What seems to work is if you import
packages directly as import ... as ....

So for the django models import as:

import django.db.models as models

And voila, completion in Netbeans works!

On Nov 20 2008, 5:01 pm, lig <[email protected]> wrote:
> On 19 нояб, 21:22, Delta20 <[email protected]> wrote:
>
> > NetBeans for Python has been released and based on the NB Python
> > roadmap, it looks interesting for those of us working with Django. I
> > haven't had much of a chance to play with it yet since it just came
> > out today, but here's the info for anyone interested:
>
> > NetBeans IDE for Python:http://download.netbeans.org/netbeans/6.5/python/ea/
> > NB Python Roadmap:http://wiki.netbeans.org/Python
>
> from django.db import models
>
> class Page(models.Model):
>     name    = models. # hitting Ctrl+Space here don't show field type
> suggestions or anything from imported models package

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to