I am learning Django
, and Django
shell
is a frequently used thing, but it is a bit frustrating to switch back and forth to the Terminal window.
I try to use SublimeREPL-shell
, but it does not work properly. For instance, I can use python manage.py shell
to enter the interactive console in the REPL window, but after that all command and results will not be displayed: it look something like this
bash: no job control in this shell
bash-3.2$ python manage.py shell
Python 2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
Well, the results will be displayed if I quit()
and they will all show up (but a bit too late...). Something like this
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> >>> [<Person: John>, <Person: Jane>]
>>> bash-3.2$
So I wonder if this is a way to do it properly?