Pycharm in particular likes fetching Django console spontaneously (while I’m copy-and-pasting things in project tree). After runserver:
Performing system checks... System check identified no issues (0 silenced). July 09, 2019 - 15:45:49 Django version 2.0, using settings 'project.settings' Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. Error: That port is already in use.
For some reason port 8000 is already in use? Just use this:
sudo kill 'sudo lsof -t -i:8000'