Have you tried installing iPython? I can remembers your history across  
sessions, and has lots of other niceties (eg, you can define a default  
set of import statements on startup).
If installed, python manage.py shell will automatically pick it up.


> Thanks Christian, that's a great tip!
>
> On 30 Mrz., 11:29, "Christian Vest Hansen" <[EMAIL PROTECTED]>
> wrote:
>> Try
>>
>>>>> help(reload)
>>
>> Instead of restarting the entier shell.
>>
>> On 3/30/08, Jorge Sousa <[EMAIL PROTECTED]> wrote:
>>
>>> Hi,
>>
>>> I'm using Django on windows.
>>> Is it possible to, once inside the Django Shell (manage.py shell)  
>>> while
>>> testing some bint and changing the code in a model method to have it
>>> available to the shell?
>>> Kind of autoreload thing.
>>> It only work by exiting the shell and entering again. But then  
>>> have to
>>> import everything again.
>>
>>> Thanks
>>
>>> Jorge Sousa
>>
>> --
>> Venlig hilsen / Kind regards,
>> Christian Vest Hansen.
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to