Re: django-admin tab completion not working

2010-05-01 Thread Martin Lundberg
I looked in the django_bash_completion script but didn't understand much. Anyone who has any idea of what could be wrong? Why DJANGO_AUTO_COMPLETE is not in the list of environment variables? -Martin On Fri, Apr 30, 2010 at 7:21 PM, Martin Lundberg wrote: > I'm taking

Re: django-admin tab completion not working

2010-04-30 Thread Martin Lundberg
I'm taking a look in django/core/management/__init__.py in the completion method the first couple of lines are (line 285): # Don't complete if user hasn't sourced bash_completion file. if not os.environ.has_key('DJANGO_AUTO_COMPLETE'): return Right after doing ".

Re: django-admin tab completion not working

2010-04-30 Thread Daniel Roseman
On Apr 30, 7:55 am, Martin Lundberg wrote: > Thanks, at least I know that it should work. Could it be that I don't have > bash-completion installed on osx? I've tried to install it with brew and it > seemed to work but I'm not sure if it is in fact installed and working

Re: django-admin tab completion not working

2010-04-30 Thread Martin Lundberg
Thanks, at least I know that it should work. Could it be that I don't have bash-completion installed on osx? I've tried to install it with brew and it seemed to work but I'm not sure if it is in fact installed and working and I'm not sure how to test if it is. -Martin On Fri, Apr 30, 2010 at

Re: django-admin tab completion not working

2010-04-29 Thread Xavier Ordoquy
Hi, I'm on OSX (snow leopard) with default shell, python but django 1.2 beta within a virtual env. Having the django_bash_completion sourced, the django-admin.py he completes correctly to "help". Regards, Xavier. Le 29 avr. 2010 à 19:41, Martin Lundberg a écrit : > Anyone on OSX who has had

Re: django-admin tab completion not working

2010-04-29 Thread Martin Lundberg
Anyone on OSX who has had this same problem? I'm going crazy here. Would really want it to work since it would make it much easier to use django-admin. On Thu, Apr 29, 2010 at 12:01 AM, Martin Lundberg wrote: > Hello, > > I've source the django_bash_completion script

django-admin tab completion not working

2010-04-28 Thread Martin Lundberg
Hello, I've source the django_bash_completion script but when I try to use it by hitting TAB I get this: $ django-admin.py heType 'django-admin.py help' for usage. I hit tab after 'he' but it is not working and I get the above message instead. Any idea what I'm doing wrong? Thanks, -Martin