Google Groups Home
Help | Sign in
OT: .pystartup
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Baurzhan Ismagulov  
View profile  
 More options Jan 28 2007, 3:06 pm
From: Baurzhan Ismagulov <i...@radix50.net>
Date: Sun, 28 Jan 2007 21:06:22 +0100
Local: Sun, Jan 28 2007 3:06 pm
Subject: OT: .pystartup
Hello all,

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/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adrian Holovaty  
View profile  
 More options Jan 28 2007, 3:50 pm
From: "Adrian Holovaty" <holov...@gmail.com>
Date: Sun, 28 Jan 2007 14:50:43 -0600
Local: Sun, Jan 28 2007 3:50 pm
Subject: Re: OT: .pystartup
On 1/28/07, Baurzhan Ismagulov <i...@radix50.net> wrote:

> 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?

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Baurzhan Ismagulov  
View profile  
 More options Jan 28 2007, 4:29 pm
From: Baurzhan Ismagulov <i...@radix50.net>
Date: Sun, 28 Jan 2007 22:29:07 +0100
Local: Sun, Jan 28 2007 4:29 pm
Subject: Re: OT: .pystartup
Hello Adrian,

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,
--
Baurzhan Ismagulov
http://www.kz-easy.com/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rubic  
View profile  
 More options Jan 28 2007, 9:54 pm
From: "Rubic" <rubi...@gmail.com>
Date: Mon, 29 Jan 2007 02:54:31 -0000
Local: Sun, Jan 28 2007 9:54 pm
Subject: Re: OT: .pystartup
On Jan 28, 2:50 pm, "Adrian Holovaty" <holov...@gmail.com> 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.

Please give this a try and see if it fits the bill:

  http://code.djangoproject.com/ticket/3386

--
Jeff Bauer
Rubicon, Inc.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google