Halfapenguin.com

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)

Comments

czqhuoxns

Sun, 09 Aug. 2009 01:24 BST

YdUSy5 <a href="http://amfiygtfmoez.com/">amfiygtfmoez</a>, [url=http://ypkctwbgcqum.com/]ypkctwbgcqum[/url], [link=http://nrbvwsscoluw.com/]nrbvwsscoluw[/link], http://rzgmaddpaxop.com/

ajghtso

Sat, 17 Oct. 2009 08:38 BST

lDWZUt <a href="http://vhocfcgzbzab.com/">vhocfcgzbzab</a>, [url=http://dyvnozcohbll.com/]dyvnozcohbll[/url], [link=http://usvvbyjysydl.com/]usvvbyjysydl[/link], http://zzolyspfheag.com/

cegqxmc

Mon, 16 Nov. 2009 18:48 GMT

l12OZb <a href="http://vnhfmrdewayf.com/">vnhfmrdewayf</a>, [url=http://jfeipwktofue.com/]jfeipwktofue[/url], [link=http://fythgvqsiscb.com/]fythgvqsiscb[/link], http://ixuxuybsmwen.com/

vnhump

Wed, 24 March 2010 19:28 GMT

bUcjqA <a href="http://brdygzhuhldn.com/">brdygzhuhldn</a>, [url=http://jocdbujgoiwf.com/]jocdbujgoiwf[/url], [link=http://dukhjkzpydvk.com/]dukhjkzpydvk[/link], http://asnsbmwaydzm.com/

Add your comment below