Re: Porting _django_bash_completion to Windows Powershell

2010-04-09 Thread guillermooo
For the two Django devs on Windows out there, you might want to use this: http://bitbucket.org/guillermooo/powershell-utilities-for-django-developers/ Tests, docs, etc. to come soon. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: Porting _django_bash_completion to Windows Powershell

2010-04-09 Thread guillermooo
One final question about the bash script's functionality--I cannot test easily on Linux now, so I'd love to hear some feedback. As far as I can tell, django-admin.py sqlall will only show completions if DJANGO_SETTINGS_MODULE is set. Is this correct? On Mar 17, 10:14 pm, Arthur Koziel wrote: >

Re: Porting _django_bash_completion to Windows Powershell

2010-03-17 Thread Arthur Koziel
On Mar 17, 2010, at 3:35 PM, guillermooo wrote: > autocomplete() is executed always, regardless whether the user has > requested completions or not. The only early exit point of > autocomplete() is reached if DJANGO_AUTO_COMPLETE is false. Otherwise, > sys.exit(1) returns to the console. How is th

Re: Porting _django_bash_completion to Windows Powershell

2010-03-17 Thread guillermooo
>Internally, the autocompletion is done using the > ManagementUtility.autocomplete() method, line 264 of > django/core/management/__init__.py. I've taken a look the code, but there a few details that I don't understand. autocomplete() is executed always, regardless whether the user has requested

Re: Porting _django_bash_completion to Windows Powershell

2010-03-10 Thread Russell Keith-Magee
On Thu, Mar 11, 2010 at 4:12 AM, guillermooo wrote: > ** I might be posting in the wrong place. Apologies if I do, but this > felt like the right place to ask! ** > > Hi! > > I'm trying to port Django's django_bash_completion script to Windows > Powershell, but I only know so much bash, so I'd nee

Porting _django_bash_completion to Windows Powershell

2010-03-10 Thread guillermooo
** I might be posting in the wrong place. Apologies if I do, but this felt like the right place to ask! ** Hi! I'm trying to port Django's django_bash_completion script to Windows Powershell, but I only know so much bash, so I'd need a little help in understanding what's going on. As far as I un

Porting _django_bash_completion to Windows Powershell

2010-03-10 Thread guillermooo
** I might be posting in the wrong place. Apologies if I do, but this felt like the right place to ask! ** Hi! I'm trying to port Django's django_bash_completion script to Windows Powershell, but I only know so much bash, so I'd need a little help in understanding what's going on. As far as I un