#shell


2010

blog  Preloading stuff in django's interactive shell.

Nov 2010

Django's shell is a fantastic way to interact with all the components of your django application, eg when testing new functionalities or debugging a nasty error. Sometimes though you end up loading the same variables or importing the same modules every time you run the shell , for example because you are trying out a large function that needs being refined through a trial and error process.


2009

blog  Snippet to load stuff quickly in the Django shell.

May 2009

Sometimes you end up testing out things a lot using the handy django shell, but every time you've got to repeat the same commands to load all the necessary models, utils etc. etc.


Related Tags