I'm using a .pystartup file as described at
http://www.python.org/doc/current/tut/node15.html . When I start
"manage.py shell", this file is apparently not read (at least I can't
browse any history entries) and I have to paste it manually. Can I make
manage.py read the file?
Thanks in advance,
--
Baurzhan Ismagulov
http://www.kz-easy.com/
Hi Baurzhan,
The "manage.py shell" command doesn't take into account your
.pystartup file, but that would be a nice improvement if it would. If
you could figure out how to make that happen and provide a patch,
we'll integrate it into Django.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
On Sun, Jan 28, 2007 at 02:50:43PM -0600, Adrian Holovaty wrote:
> The "manage.py shell" command doesn't take into account your
> .pystartup file, but that would be a nice improvement if it would. If
> you could figure out how to make that happen and provide a patch,
> we'll integrate it into Django.
If I had known how to do that, I would have provided the patch in the
first place ;) . Thanks much for the lightning fast answer, now I feel
myself obliged to submit one :) .
With kind regards,
Please give this a try and see if it fits the bill:
http://code.djangoproject.com/ticket/3386
--
Jeff Bauer
Rubicon, Inc.