As Travis says, use the screen. If you have not installed it yet, you will receive it:
sudo apt-get install screen screen
Press Enter. Now it looks like you are in a different terminal window.
Start from the server:
python manage.py runserver 0.0.0.0:8000
Now you start the server, and you want to return to your first screen, allowing the django application to continue. The screen has a nice built-in feature. To return to the type of your main terminal:
ctrl+ad
From there, you can return to the django screen by typing:
screen -r
If you have multiple screens open, you can achieve the correct one with a 4-5 digit identification number:
screen -r 1333
And the manual pages are pretty good:
man screen
kelorek Mar 22 '13 at 20:04 on 2013-03-22 20:04
source share