URGENT - django shell fix
23:37, 18 Nov 2007
I found this through The O-Reilly blog
I was having a huge headache with the django shell, or maybe that was the flu (4 days and counting, whoever took my immune system i want it back....) but either way Apple has released a fix that makes it work again (and its now been updated, Yippeeee!
The problem was no tab-completion in the ipython shell for django, and that is a terrible headache for anyone used to this wonderful feature. The fix involves a couple of lines added to your ~/.ipython/ipy_usr_conf.py file.
Add these 2 lines to the end of the main method (its not totally clear on the site with the fix i'm sad to say).
import readline
readline.parse_and_bind ("bind ^I rl_complete")
(If you don't know how to do this, you shouldn't really be editing these files)
Any problems, leave a comment...(but please direct credit to the discoverer of the fix)