The default django shell.py never calls the IPython Profile hooks. I
think the one patch
(https://code.djangoproject.com/attachment/ticket/14892/IPython.patch)
ran shell() rather than embed.
import IPython
IPython.embed()
That causes the default profiles to be loaded. Given that the patch
was 11 months before 0.11 final was out, it's possible the API drifted
along the way.
--
Chris Green <gre...@gmail.com>
Hi Chris,
I had the same trouble you did, only didn't pursue it very far. I don't
see any reason "manage.py shell" shouldn't support IPython profiles, and
would support a ticket/patch to this end. If it uses an IPython API
that's 0.11-only, though, it needs to have a fallback to still support
0.10 as well.
Carl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6THKQACgkQ8W4rlRKtE2c8/ACgmMdvnesM4X1zZlcoDw+/TDtt
2qIAn19W0bExqZE/AWhVnJJVQLQqARsi
=/vI5
-----END PGP SIGNATURE-----