Can't seem to get the auto complete to work when I import django.db.models as models. Shows models when I start typing but after the . nothing in the django model section comes up. Shows the master list of python options. IntegerField isn't in there nor could I find any of the other ones. Oh well hopefully it will be out soon with more support for Django
On Jan 17, 3:29 am, Gautam <gkac...@gmail.com> wrote: > 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 <se...@matveenko.ru> wrote: > > > On 19 нояб, 21:22, Delta20 <digital_illumin...@yahoo.com> 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 django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---