Another way is to run
manage.py runserver --noreload
Notice --noreload parameter, which cause Django run on the main thread (but won't reload when a file changes).
For production environments, you should use something more robust. Gunicorn is a great server, and you can run easliy:
gunicorn wsgi:application --bind 127.0.0.1:8000
Another way is to run
manage.py runserver --noreload
Notice --noreload parameter, which cause Django run on the main thread (but won't reload when a file changes).
For production environments, you should use something more robust. Gunicorn is a great server, and you can run easliy:
gunicorn wsgi:application --bind 127.0.0.1:8000