app
variable), the application models and some helpers imported for you.-i
option and install IPython if not installed yet (pip install IPython
):-d
flag. It should be a path relative to your project root. For example you can run the following command if your models are located in a models/
folder located at your project root:PYTHONSTARTUP
environment variable to add a script that you want to run at the beginning of the shell session.~/.ipython/profile_default/startup/
. IPython will run those scripts for you at the beginning of the shell session.