I don't know where is your problem, You should try to add the django installation folder to the project source folder to get correct completion.
I hop this partial data may help you On Apr 15, 3:51 am, Victor Hooi <victorh...@gmail.com> wrote: > heya, > > I'm still a bit confused as to how to setup Django to work with > Netbeans. > > I'm using Netbeans 6.7 M3 from here: > > http://bits.netbeans.org/download/6.7/m3/ > > I've created a new Django project using django-admin, e.g.: > > django-admin.py startproject testproject > > and then I'm creating a new "Python Project with Existing Sources", > and pointing it to the "testproject" directory". > > In project properties, I've set Main Module to "manage.py", and > Application Arguments to "runserver --noreload" (thanks > tohttp://esauro.wordpress.com/2008/11/21/django-on-netbeans-65/), so > that takes care of running the server when I click Run. > > However, how should I go about setting up autocompletion? It doesn't > seem to recognise Django, and using Ctrl-Space on say, > "django.db.models." just brings up a random list of Python options? > And when I start typing, I don't get a list of models, as people up > above seem to be getting on occasion. > > What settings should I change in the project in order to import it > correctly, and get autocomplete and the like working? > > Cheers, > Victor > > On Feb 26, 6:11 pm, "bruce.hpshare" <bruce.hpsh...@gmail.com> wrote: > > > It's a good news for the django develpement ... > > > 2009-02-26 > > > bruce.hpshare > > > 发件人: पुनित मदान > > 发送时间: 2009-02-26 15:31:41 > > 收件人: django-users > > 抄送: > > 主题: Re: NetBeans IDE for Python > > > u dont need to move django ... but need to configure python path in project > > properties .... > > > 2009/2/26 Amirouche aka Mouche <amirouche.boube...@gmail.com> > > > It looks like they plan to give some love to django in the next > > release > > >http://wiki.netbeans.org/Python70Roadmap > > > here is the pre-beta nb 7http://bits.netbeans.org/download/6.7/m2/ > > > their is a ruby column but no python ! Hell ! I wonder why ! Is ruby > > that mainstream ? > > > can't try it myself now, hope it helps ! > > > On Feb 26, 5:38 am, Amirouche aka Mouche > > > <amirouche.boube...@gmail.com> wrote: > > > On Feb 4, 10:54 pm, phillc <spyyd...@gmail.com> wrote: > > > > > mine wasnt working exactly as you all described it... > > > > > until i moved my django symlink to someplace else on my python path... > > > > and it suddenly worked.... its really odd. > > > > uhh what do you mean ? > > > > > On Feb 3, 12:49 am, mrsixcount <mrsixco...@gmail.com> wrote: > > > > > > 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 > > > -- > > If you spin an oriental man, does he become disoriented? > > (-: ¿ʇɥǝɹpɹǝʌ ɟdoʞ uǝp ɹıp ɥɔı ,qɐɥ 'ɐɐu > > > is der net süß » ε(●̮̮̃•̃)з > > -----PM --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---